4 Replies Latest reply on Sep 2, 2014 4:07 AM by andrew simpson

    Splitting tests across multiple files without causing redeployment per file

    andrew simpson Newbie

      I'm using Arquillian with ShrinkWrap to create a deployable war archive offering REST services which I test.


      The number of tests has risen to become unmanageable in one file, yet if I split tests across multiple files I run into problems.


      Ideally I'd like to have all classes contains methods annotated with @test inherit from an ancestor which contains a @deployment directive in which the deployment URL can be read; the goal is a single deployment.


      I have not managed to split tests in this way without causing a redployment of the archive for each block of tests, not what I want.


      Is there any advice on how to create a large number of tests across multiple files that collectively only require a single deployment?


      My JBoss BOM seems to contain Arquillian 1.0.3.Final.