Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

253
Visualizações
plugin in Cucumber runner class are showing attribute undefined. Giving me the error

[plugin are showing attribute undefined][1] Hence trying to add couple of decencies and still showing the same result. Please help. I am actually trying to Generate Cucumber Report.

Please advise any alternatives.

import cucumber.api.CucumberOptions;
import cucumber.api.junit.Cucumber;
import com.cucumber.listener.Reporter;

//this is a cucumber annotation dictating the cucumber runner
@RunWith(Cucumber.class)
//this is how we want the results formatted. The only customizable line, different formats can 
be added or removed. I�ve included the most common ones for convenience
@CucumberOptions(
    features = "classpath:features" ,
     glue = {"test"},
     plugin = {"html:target/cumber-html-report"},
    format={
            "pretty", "html:target/results", 
             "html:target/cucumber-reports/cucumber-pretty",
            "json:target/cucumber.json",
              "rerun:target/cucumber-reports/rerun.txt"
    }
    , tags = {
        // Write your desire Test Case Annotation Name to Execute the Test.
            //"@Broker_Create_Account_End_To_End"
            //"@Broker_Portal_End_To_End_Testing"
            "@TestCaseB"
            //"@Individual_Configure_Account"
            
    }
    , dryRun = false

    , monochrome = true
    )
//this is an empty class to run with. This needs to remain empty

public class RunCucmberTest {

@AfterClass
public static void shutdownDriver(){

    if(GlobalEng.webDriver !=null){
        GlobalEng.webDriver.quit();
        GlobalEng.webDriver = null;
    }
}
public void setup() {

}
}
about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda