Arquillian
  1. Arquillian
  2. ARQ-197

Research support for @Deployment on multiple levels

    Details

    • Similar Issues:
      Show 10 results 

      Description

      One deployment pr TestCase might not always be the ideal solution. Research how we can deploy multiple TestCases with one Deployment and test them all at once.

        Issue Links

          Activity

          Hide
          andrew zimmer
          added a comment -

          Hi Folks,
          My team's tests are setup exactly as Geoffrey describes above. One common superclass that extends Arquillian and has the deployment, and then lots of subclasses of that. My team is suffering because of the time it takes to run all of our Arquillian tests, so we'd love to see a solution to this!

          Show
          andrew zimmer
          added a comment - Hi Folks, My team's tests are setup exactly as Geoffrey describes above. One common superclass that extends Arquillian and has the deployment, and then lots of subclasses of that. My team is suffering because of the time it takes to run all of our Arquillian tests, so we'd love to see a solution to this!
          Hide
          Geoffrey De Smet
          added a comment -

          @andrew Alsak proved that we can already hack it if we want: https://github.com/droolsjbpm/guvnor/pull/75

          Show
          Geoffrey De Smet
          added a comment - @andrew Alsak proved that we can already hack it if we want: https://github.com/droolsjbpm/guvnor/pull/75
          Hide
          andrew zimmer
          added a comment -

          @Geoffrey thanks for the pointer. I don't think I have the chops to get the hack applied to my current project...Alsak's commit remark that "other Arquillian extensions that rely on manipulating the deployment based on reading metadata from the TestClass will most likely not work" makes me think that there will be a raft of other issues that this causes in my current project.

          I'm glad to hear that there's a path forward, so I'm keeping my fingers crossed that this improvement gets out to the mainline of arquillian soon. Thanks again for the info!

          Show
          andrew zimmer
          added a comment - @Geoffrey thanks for the pointer. I don't think I have the chops to get the hack applied to my current project...Alsak's commit remark that "other Arquillian extensions that rely on manipulating the deployment based on reading metadata from the TestClass will most likely not work" makes me think that there will be a raft of other issues that this causes in my current project. I'm glad to hear that there's a path forward, so I'm keeping my fingers crossed that this improvement gets out to the mainline of arquillian soon. Thanks again for the info!
          Hide
          Greg Noe
          added a comment -

          Just started using Arquillian a week ago and after getting the framework setup and my first tests written, the next thing I did was create a superclass with the @Deployment method. I was quite surprised to see the deploy occur several times, would love to see this feature in the future!

          Show
          Greg Noe
          added a comment - Just started using Arquillian a week ago and after getting the framework setup and my first tests written, the next thing I did was create a superclass with the @Deployment method. I was quite surprised to see the deploy occur several times, would love to see this feature in the future!
          Hide
          Peter Probst
          added a comment -

          any news on that? Runtime performance is poor with every testcase making his own deployment.

          Show
          Peter Probst
          added a comment - any news on that? Runtime performance is poor with every testcase making his own deployment.

            People

            • Assignee:
              Unassigned
              Reporter:
              Aslak Knutsen
            • Votes:
              90 Vote for this issue
              Watchers:
              71 Start watching this issue

              Dates

              • Created:
                Updated: