Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-4056

Ensure all tests are written junit4 way

    XMLWordPrintable

Details

    Description

      Currently most of the tests in JBWS project are written using @RunWith(Arquillian.class) whereas there are others extending TestCase class from junit framework. The latter is the junit3 way of writing tests which relies on test method name convention.

      Furthermore, almost all tests transitively extends TestCase via JBossWSTest despite of using @RunWith. In some cases that leads to situations where some test methods are actually skipped because they miss @Test annotation, which were probably missed within migration to Arquillian.

      We should ensure all tests are annotated with @Test. We also should remove inheritance from TestCase class and instead use Assert.* methods directly.

      Attachments

        Activity

          People

            jbliznak@redhat.com Jan Blizňák
            jbliznak@redhat.com Jan Blizňák
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: