Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Jan 21, 2025
1 parent 3faf52e commit 9db6fee
Showing 1 changed file with 17 additions and 6 deletions.
23 changes: 17 additions & 6 deletions site/_releases/3.10.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 9db6fee

Please sign in to comment.