OpenMRS Core Master
Build: #2341 failed
Job: Build and Test failed
Code commits
openmrs-core
-
teleivo <teleivo@users.noreply.github.com> 00a3747a41d41e2739fd011058933104f7527b06
TRUNK-5816 Run StartModuleAnnotationTest
it was not run since all tests in the test folder are excluded from the
surefire plugin in the api
https://github.com/openmrs/openmrs-core/blob/d5585afd4142a3facb1d12340e0c4588f0db6565/api/pom.xml#L363-L367
Most likely so that the BaseContext...Test classes dont get picked up.
Not sure if they would actually run tough since they have no @Test
annoation. We can double check that.
Moving the test to the annotation package since there is already a
StartModuleAnnotation test- api/src/test/java/org/openmrs/annotation/StartModuleAnnotationTest.java (version 00a3747a41d41e2739fd011058933104f7527b06)
- api/src/test/java/org/openmrs/test/StartModuleAnnotationTest.java (version 00a3747a41d41e2739fd011058933104f7527b06)
-
teleivo <teleivo@users.noreply.github.com> 117033748d6da65428b485c75952b26c5c8349ee
TRUNK-5816 Make StartModuleExecutionListener JUnit independent
so it can be reused in JUnit 4 and 5 BaseContextSensitiveTests- api/src/test/java/org/openmrs/test/StartModuleExecutionListener.java (version 117033748d6da65428b485c75952b26c5c8349ee)
- api/src/test/java/org/openmrs/test/jupiter/BaseContextSensitiveTest.java (version 117033748d6da65428b485c75952b26c5c8349ee)
- api/src/test/java/org/openmrs/test/jupiter/StartModuleExecutionListener.java (version 117033748d6da65428b485c75952b26c5c8349ee)