1 Reply Latest reply on Aug 22, 2012 7:26 AM by aslak

    Any way to separate tests from one testclass?

    rumens

      Hi.

       

      I have quite big and complex EAR project which I need to test. Currently it has around 30 beans in its war. Almost every bean needs to be tested.

      It would be beneficial and more relevant for me to run all tests within the same deployment. I would like to have around 30 classes e.g. Bean1Test, Bean2Test etc. Which would run within same @Deployment. So is there any way  for testcases which defined in several files to be run  within the same @deployment and not redeploying it? Otherwise it might be very time consuming as one deployments takes around 25 seconds, and 30 test classes will run at least 12.5 minutes.