Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-5216

@StartModule cannot be used with more than one test case

    XMLWordPrintable

    Details

    • Complexity:
      Medium

      Description

      Steps to reproduce
      • Add the following new test case:
        @StartModule("org/openmrs/module/include/test1-1.0-SNAPSHOT.omod")
        public class StartModuleAnnotationReuseTest extends BaseContextSensitiveTest {
          @Test
          public void shouldPass() {
            Assert.assertTrue(true);
          }
        }
        
      • Run mvn clean install

      Note however that the isolated test succeeds:

      mvn -Dtest=StartModuleAnnotationReuseTest test
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dkayiwa Daniel Kayiwa
              Reporter:
              mksd Dimitri R
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: