lundi 29 juin 2015

Arquillian testing - How to call a method after all tests are finished

I am using ArquillianSuiteDeployment for my project, each sub-project has a Deployments class in which we have two methods - one for creating a shrinkwrap archive of REST classes and other for non-REST classes.

As part of code coverage generation, I am following this http://ift.tt/1QYKstl

Now, I want to call a servlet just after all the tests are finished. Using @AfterClass annotation is not suitable because It will invoke for each class. Any ideas?

Aucun commentaire:

Enregistrer un commentaire