Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
Description
The ManagedCas and ManagedJCas classes had been rules for JUnit 4. While porting to JUnit 5, there were turned into TestWatchers - but that currently makes them hardly usable because watchers / extensions seem to be normally instantiated by JUnit itself and then we have no access to the contained CAS. Looks like these classes should rather work like @TempDir in JUnit 5.