Closed
Description
ErrorCollector doesn't seem to work, even when I do the most basic test.
See code:
@Rule
public ErrorCollector test = new ErrorCollector();
@When("I test my code")
public void I_test_my_code(){
//Sandbox step - put code here you want to test
//new TestCase("Testing Error Handler 1", false, equalTo(true), false).runTest();
//new TestCase("Testing Error Handler 2", false, equalTo(true), false).runTest();
//new TestCase("Testing Error Handler 3", true, equalTo(true), false).runTest();
test.checkThat("Testing Error Handler 1", false, equalTo(true));
test.checkThat("Testing Error Handler 2", false, equalTo(true));
test.checkThat("Testing Error Handler 3", true, equalTo(true));
}
Note, I am using Cucumber JVM to run my tests.
Metadata
Assignees
Labels
No labels
Activity