0

I try to execute a gherkin method in my java main:

public class Prueba {

public static TestingScenario scenario;
@Inject
public Prueba(TestingScenario scenario) {

    this.scenario = scenario;
}

public static void main(String[] args) {
    scenario
            .http("")
            .post("")
            .body().json()
            .fromFile("")
            .send();
}

This is the error I get when executing main: enter image description here

Sotirios Delimanolis
  • 274,122
  • 60
  • 696
  • 724
UndecoDE
  • 56
  • 7

0 Answers0