Skip to main content



      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 16:32 Go to next message
Eclipse UserFriend
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 17:30 Go to previous messageGo to next message
Eclipse UserFriend
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 10:24 Go to previous message
Eclipse UserFriend
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: Sun Jul 27 01:56:08 EDT 2025

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

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

Back to the top