0 Replies Latest reply on Aug 4, 2017 7:44 AM by Evgeniya Evlogieva

    Does @OperateOnDeployment annotation fail the tests if deployment has failed

    Evgeniya Evlogieva Newbie

      Hi all,


      I have the following setup: I use Arquillian with Maven, and I have a set up Jenkins job. I use the @Deployment annotation for deployment and @OperateOnDeployment for the tests. Is it available, is there any property, that if the deployment fails, all the tests with @OperateOnDeployment on this exact deployment to fail without being executed (or to be skipped altogether)?


      Right now, the first test class that is executed right after the deploy, fails with "Deployment failed", but all the other test classes are being executed. Is this somehow because of a wrong setup, or is it the default behaviour?


      Best regards,