Check if spring annotations are required in IT

XMLWordPrintable

    • Type: Task
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.0.0, 2.0.0-alpha3
    • Affects Version/s: None
    • Component/s: None
    • None

      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.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Askar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: