Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-969

Check if spring annotations are required in IT

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 2.0.0, 2.0.0-alpha3
    • None
    • None
    • None

    Description

      at the moment all our IT tests are annotated as

      
      @RunWith(SpringJUnit4ClassRunner.class)
      @ContextConfiguration(locations =  {"/it/it-applicationContext.xml"}
      

      I am not sure this is requited. Please switch to normal JUnit runner if possible.

      Background: there is no need to override normal JUnit lifecycle by spring if we don't really rely on it in tests. Since nothing is autowired in test cases themselves this is
      most likely the case.

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              askar.akhmerov Askar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce