| «« Software Engineering and Feedback | Smaller Companies, More Hats »» |
|
About
I'm Ryan Lowe, a Software Engineering graduate living in Ottawa, Canada. I like agile software development and Ruby on Rails.
I write this blog in Canadian English and don't use a spell checker. Typos happen.
Projects
» Full-time Ruby on Rails freelancer
» Full-time with Rails since May 2005 » Former committer for RadRails (now Aptana) » I also have a few Rails side-projects in development: 1. wheretogoinTO.com Toronto nightlife 2. Hey Heads Up! TODO list and sharing 3. Layered Genealogy family history research 4. foos for foosball scoring 5. fanconcert for music fans (on hold) Hiring Rails developers? I can telecommute by the hour from Ottawa, Canada »» Email: rails AT ryanlowe DOT ca
BulletBlog
Now hosted on Hey! Heads Up -- check it out!
Syndication
Pings
Recent
Derek Lowe's (Ryan's older brother) words at Ryan's funeral
blog@ryanlowe.ca no more Forging Email Headers: Good, Bad or Ugly? Sarcastic Dictionary (Part 1 of Many) Tags Hierarchies Twisting Rails is Risky Business Risky Business? My Take on Early Alphas Whoa, it's August 2007 Closing Comments A Postscript to "Growth at the grassroots" »» All Blog Posts
Linkage
del.icio.us/ryanlowe
technorati/ryanlowe.ca/blog Aurora Roy Jim Andrew Trasker Travis Kibbee Karen Dr. Unk Ayana Van Bloggers Joel Spolsky Robert Scoble Tim Bray Dave Winer Raymond Chen James Robertson Ruby/Rails Bloggers rubyonrails.org weblog David Heinemeier Hansson Dave Thomas James Duncan Davidson Mike Clark Jamis Buck Signal vs. Noise Tobias Luetke Amy Hoy: (24)slash7 Jeremy Voorhis Eclipse Bloggers Planet Eclipse EclipseZone Luis de la Rosa Eclipse Foundation Kim Horne Billy Biggs Ian Skerrett Mike Milinkovich Bjorn Freeman-Benson Denis Roy
Archives
|
Eclipse: How to Run All Tests in Multiple Projects?
Here's a question to the Planet Eclipse audience... I have 23 Eclipse projects (most of them plugin projects) for one product. Is it possible to run all of the JUnit Test Cases in those projects at once in Eclipse? In the run configuration all I can see is the option to run either a single Test Case or all of the Test Cases in a single project. I suppose I could maintain a giant JUnit Test Suite class but I'd rather not have it span projects. My fallback right now is to run my product Ant build script and read the JUnit report with the consolidated results of all projects. The downside is that Ant test running is not integrated into Eclipse's test runner view so it is more mouse clicks to see the test results. How have other people worked around this? Maybe a good enhancement would be to run all JUnit Test Cases in a working set. Posted at March 30, 2005 at 05:31 PM ESTLast updated March 30, 2005 at 05:31 PM EST Comments
For each of your projects do they have a "AllTests" class? If you wanted to run all the tests you could just have it run those. You would only have to change it if you added / removed a project. I like your idea of being able to run all tests in a working set (based on a pattern). Does that make sense? I'm sick with a cold so I don't know if I'm being clear or not. Here, let's draw it out. MasterSuite Yeah, I could maintain Test Suites like that but I'd rather not have to... if I add more Test Cases I'd like them to be picked up automagically if they are already in the working set. Besides, having it based on working sets makes them more dynamic. » Posted by: Ryan at March 30, 2005 07:37 PMAnother way is to use TestNG + its Eclipse plug-in, which lets you invoke as many testng.xml as you want in a launch configuration... » Posted by: Cedric at March 31, 2005 10:07 AMBut then I have to maintain test.xml files? Or annotations? Or... ... I don't want to have to maintain a list of anything. I just want to run all of the Test Cases in an arbitrary working set. » Posted by: Ryan at March 31, 2005 06:49 PM |