JUnit suite that is able to run keyword-driven tests.
Using
KeywordTestSuite
allows you to manually build a suite containing multiple tests. To use it,
annotate a class with
@RunWith(KeywordTestSuite.class)
and
@KeywordTests({"Use Case 1", ...})
.
When you run this class, it will run all the specified keyword-driven tests.
For example, to execute two tests in "Use Case 1.kwd" and "Use Case 2.kwd" use the following code:
@RunWith(KeywordTestSuite.class)
@KeywordTests({ "Use Case 1", "Use Case 2" })
public class TestSuite {
}