<dependency> <groupId>io.github.specsy</groupId> <artifactId>specsy</artifactId> <version>1.0.0</version> <scope>test</scope> </dependency> import io.github.specsy.Specsy; import io.github.specsy.core.Given; public class MyLibrarySpec extends Specsy { @Given("an empty list") public void testEmptyList() { } @Given("a list with elements") public void testListWithElements() { } } import io.github.specsy.runner.SpecsyRunner; import org.junit.runner.RunWith; @RunWith(SpecsyRunner.class) public class MyLibrarySpecTest { }


上一篇:
下一篇:
切换中文