Details

    • Type: Sub-task
    • Status: Closed
    • Priority: TBD
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Core 2.4.0
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Undetermined

      Description

      These helpers

      • BaseContextMockTest
      • BaseContextSensitiveTest
      • BaseModuleContextSensitiveTest
      • BaseModuleWebContextSensitiveTest

      that are based on JUnit 4 need to be deprecated so module developers are aware that they should at some point migrate to JUnit 5.

      {{public abstract class BaseContextSensitiveTest extends AbstractJUnit4SpringContextTests { }}
      BaseContextMockTest is pre Junit 5 Extensions

      Also make sure all the new helpers have updated javadocs that mention that they are for JUnit 5 tests. The javadocs should also contain a @since annotation.

      We have to think about how long we want to support JUnit 4 tests in openmrs-core/test so we can one day remove these helpers and the JUnit 4 dependencies.

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              achilep Pahonsi Bebeto Achile
              Reporter:
              teleivo Ivo Ulrich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: