You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance integration with JUnit in order to allow each thymeleaf test (.thtest) to be counted by JUnit as a separated test, so that execution summary figures better reflect the real amount of executed tests.
The text was updated successfully, but these errors were encountered:
I finally got tired of the boilerplate involved with hooking up a new thtest file w/ JUnit, so I went looking for a way to dynamically generate a test for every Thymeleaf test file, and stumbled across JUnit's Parameterized tests feature. I ended-up creating this class (JUnitThymeleafTestExecutor.java) to replace all the other ones I had that just mapped Thymeleaf tests to JUnit tests.
It's not exactly the same as it was before (tests are still reported on separately, but aren't grouped by package any more as they're all effectively run by this single class), but maybe it's a good starting point for this issue? I'm just glad I don't have to write any more @Test-annotated methods, just Thymeleaf test files! :)
Enhance integration with JUnit in order to allow each thymeleaf test (
.thtest
) to be counted by JUnit as a separated test, so that execution summary figures better reflect the real amount of executed tests.The text was updated successfully, but these errors were encountered: