Issue 6: Add "Run all test classes from package/directory"
Status:  Fixed
Owner: ----
Closed:  Oct 2010
Reported by robert.munteanu, Jan 12, 2007
I am an avid user of the "run all tests in the selected project, package or
source folder" facility of the JUnit plugin.

Such a facility would be a great time-saver for this plugin.
Apr 12, 2007
#1 ajvan...@gmail.com
I really second that!
Jul 9, 2007
#2 m...@mhurd.com
I'm keen on this one too, I've noticed that tagging all my tests with "unit" for
example and adding that group to the run-configuration does not stay in sync with any
new tests tagged with that group (you have to go to the run-configuration and
un-check - re-check that group to get it to find the new tests) which is a little
annoying...
Jul 13, 2007
#3 akram.benaissi@gmail.com
Vote++

Oct 3, 2008
#4 judoole
Vote++
Oct 19, 2008
#5 brand...@gmail.com
Vote+=1;
Mar 20, 2009
#6 judoole
Vote++
Apr 21, 2009
#7 bernd.pr...@acp-it.com
vote++
Jun 28, 2009
#8 chkalt
vote++

Oct 30, 2009
#9 chibima...@gmail.com
Using TestNG 5.9.05 and Eclipse 20090619-0625, I can right click on a package Run
As/TestNG Test to run all tests in that package. Doesn't seem to work for projects or
folders though.
Dec 7, 2009
#10 nei...@gmail.com
Right-clicking on a package->Run As->TestNG only runs the tests at that package 
level.  It would be nice if it also ran tests in sub packages.
Dec 9, 2009
#11 denalini...@gmail.com
vote++
Mar 12, 2010
#12 virid...@gmail.com
vote++
It's a shame such a usability booster isn't already present.

Mar 12, 2010
#13 virid...@gmail.com
I've just realized that it can be done by appending a * marker at the end of the 
package name.

com.mycompany.myinternalstructure.*

Mar 12, 2010
#14 nei...@gmail.com
I submitted a patch to enable package->Run As->TestNG to run tests in a package
similar to JUnit.  Still waiting on a response from the testng dev maintainers.
Aug 13, 2010
#15 m.szajow...@gmail.com
vote++
Oct 19, 2010
Project Member #16 cbe...@gmail.com
Pushed to master (will appear in 5.14.2.10).

http://github.com/cbeust/testng-eclipse/commit/c7721c1c1092d6073aaa5b02801a33a81f43b327

Summary: Add "Run all test classes from package/directory"
Status: Fixed