mercredi 31 mai 2017

Fitnesse execute too many tests

I just wrote my first fitnesse test. This test is executed with the help of fitnesse runner. My project contains 1 fitnesse test. This test itself succeeds, but when start the test fitnesse seemse to execute the test twice. The second test fails.

Failed tests:
fitnesse.RunLoginFT at least one test executed in LoginTest
0 right, 0 wrong, 0 ignored, 0 exceptions

Tests run: 2, Failures: 1, Errors: 0, Skipped: 0

I ran the next test:

@RunWith(FitNesseRunner.class)
@FitNesseRunner.Suite("LoginTest")
@FitNesseRunner.FitnesseDir("./src/test/resources")
@FitNesseRunner.OutputDir("target/fitnesse")
public class RunLoginFT {

}

Any idea what goes wrong?

Aucun commentaire:

Enregistrer un commentaire