You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (Jira)" <de...@uima.apache.org> on 2022/07/06 11:05:00 UTC

[jira] [Created] (UIMA-6478) ManagedCas test utility not usable

Richard Eckart de Castilho created UIMA-6478:
------------------------------------------------

             Summary: ManagedCas test utility not usable
                 Key: UIMA-6478
                 URL: https://issues.apache.org/jira/browse/UIMA-6478
             Project: UIMA
          Issue Type: Bug
          Components: uimaFIT
            Reporter: Richard Eckart de Castilho
            Assignee: Richard Eckart de Castilho
             Fix For: 3.4.0SDK


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)