Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » getting the CLI equivalent for JUnit(getting the CLI equivalent for JUnit)
getting the CLI equivalent for JUnit [message #718612] Wed, 24 August 2011 20:32 Go to next message
Mark Lehky is currently offline Mark LehkyFriend
Messages: 9
Registered: August 2011
Junior Member
Hi *.
I have a Groovy (Java) project in Eclipse running under JUnit4. The project has a whole bunch of other dependencies. Everything (run everything, run individual test, debug, etc.) works fine from Eclipse.
Is there a way to get Eclipse to tell me: "How would I get the equivalent of the last run from the command line?" Something that I can copy-paste into a script, which can be subsequently run from a scheduled task / cron. I hope this question makes sense.
TIA for any advice.
Re: getting the CLI equivalent for JUnit [message #718622 is a reply to message #718612] Wed, 24 August 2011 21:30 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
After launching a test, open the Debug perspective. There will be an entry in the Debug view for the launched process. Right click on the process and open Properties. This will show the command line used to run the test.
Re: getting the CLI equivalent for JUnit [message #718867 is a reply to message #718622] Thu, 25 August 2011 14:24 Go to previous message
Mark Lehky is currently offline Mark LehkyFriend
Messages: 9
Registered: August 2011
Junior Member
That is exactly what I needed. Thank You. Smile
Previous Topic:Creating Cheat Sheets with Images
Next Topic:Trying to Install Eclipse
Goto Forum:
  


Current Time: Sat Apr 20 01:06:12 GMT 2024

Powered by FUDForum. Page generated in 0.08059 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top