My @BeforeClass method didn't have (alwaysRun = true).

Result: it was not run when restricted to (Groups="Functional").


The last comment here

http://stackoverflow.com/questions/7939892/testng-beforemethod-with-groups

suggests tagging all setup/teardown methods with (e.g.) groups="config".


Not sure how different that is from using alwaysRun = true.


Why would you want to not run a setup or teardown method?

I guess for scenarios when you want different setup for different groups of 
tests.


My numbers for develop "functional" tests: Passed 588, Failed 5, Skipped 3.


Mungo


Mungo Carstairs
Jalview Computational Scientist
The Barton Group
Division of Computational Biology
School of Life Sciences
University of Dundee, Dundee, Scotland, UK.
www.jalview.org<http://www.jalview.org/>
www.compbio.dundee.ac.uk<http://www.compbio.dundee.ac.uk/>

The University of Dundee is a registered Scottish Charity, No: SC015096
_______________________________________________
Jalview-dev mailing list
[email protected]
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev

Reply via email to