diff --git a/site/_releases/3.10.0.md b/site/_releases/3.10.0.md index 58c6d29..14834a4 100644 --- a/site/_releases/3.10.0.md +++ b/site/_releases/3.10.0.md @@ -26,13 +26,24 @@ compilation time dropping from more than 2 minutes to under 20 seconds. ### New daffodil-tdml-junit library This removes a lot of boilerplate and duplications when declaring test cases. - Essentially for individual test declarations such as: - `@Test def someTestName(): Unit = runner.runOneTest("someTestName")` - become - `@Test def someTestName = test` + Test suites can now be defined as follows: + +``` + object MyTests extends TdmlSuite { + val tdmlResource = "/resource/path/to/tests.tdml" + } + + class MyTests extends TdmlTests { + val tdmlSuite = MyTests + + @Test def test1 = test + @Test def test2 = test + @Test def test3 = test + } +``` + Note that this requires the test name to be identical to the test name in the - TDML file. It is now also possible to use the `@Ignore` annotation ot ignore - tests that are known to fail. + TDML file. * {% jira 2958 %} TDML Runner needs feature to run test using method name as test name