Estoy tratando de testear un proceso y me dice que no tengo los steps, siendo que los steps si están-
Examples:
@400
Scenario Outline: Obtengo la imagen deseada # src/test/resources/features/cat_Error.feature:14
When realizo una petición 'GET' a 'ID' al endpoint de id - 'request/cat_id' # null
Then obtengo el status code '400' # null
There were undefined steps. You can implement missing steps with the snippets below:
When("realizo una petición {string} a {string} al endpoint de id - {string}", (String string, String string2, String string3) -> {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
});
Then("obtengo el status code {string}", (String string) -> {
// Write code here that turns the phrase above into concrete actions
throw new cucumber.api.PendingException();
});
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 2.698 s - in TestSuite
[INFO]
[INFO] Results:
[INFO]
[WARNING] Tests run: 1, Failures: 0, Errors: 0, Skipped: 1
[INFO]
[WARNING] Could not delete temp directory C:\Users\Usuario\AppData\Local\Temp\surefire2089468695994048619 because Directory C:\Users\Usuario\AppData\Loc
al\Temp\surefire2089468695994048619 unable to be deleted.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 13.593 s
[INFO] ------------------------------------------------------------------------
"cmd" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
Hola @LoKogan (https://underc0de.org/foro/index.php?action=profile;u=113009)
Tendrás el log completo?
Es decir en la parte en donde esta el trace? Porque esto que pegaste no tira mucha info que digamos.
Saludos.
Ya logré resolverlo, tenía la clase de steps en otro package y no en el de steps, entonces no la encontraba