Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-14424 add jbosstools-arquillian to JBT
  3. JBIDE-14527

Add source option to 'generate deployment method' on abstract classes

    XMLWordPrintable

Details

    Description

      @RunWith(Arquillian.class)
      public abstract class AbstractTest
      {
         @Test
         public void testa() {}
      }
      

      This should show no warning on 'missing deployment method' since it's a common pattern to have @Test's in a superclass with multiple sub classes that define deployments, but it's also a common pattern to have the deployment defined in a super class and multiple sub classes with different testing scenarios.

      Given a abstract class
      When there is no deployment method
      Then give the 'source' option to 'generate deployment method'

      Attachments

        Activity

          People

            snjeza_jira Snjezana Peco (Inactive)
            aslak@redhat.com Aslak Knutsen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: