Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Running JDT Plug-In Tests On the Command Line(JDT Plug-in Tests)
Running JDT Plug-In Tests On the Command Line [message #986144] Mon, 19 November 2012 08:18 Go to next message
Wing Lam is currently offline Wing LamFriend
Messages: 1
Registered: November 2012
Junior Member
Hi all,

I have a need to run JDT's tests on the command-line for research purposes. I have been able to accomplish this task by following the information provided here: http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/automatedtesting.html

However, with that setup I have been unable to execute only a single test of JDT for each command. Can anyone provide some insight onto how I may be able to execute a single JDT test per command?

Also following the execution, I would need to record the information (whether the test passed/failed/error with stack trace) somewhere so I can reformat it and output it later.

Thanks,
Wing
Re: Running JDT Plug-In Tests On the Command Line [message #990271 is a reply to message #986144] Tue, 11 December 2012 16:37 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 19.11.2012 14:56, Wing Lam wrote:
> Hi all,
>
> I have a need to run JDT's tests on the command-line for research
> purposes. I have been able to accomplish this task by following the
> information provided here:
> http://download.eclipse.org/eclipse/downloads/drops/R-3.7.2-201202080800/automatedtesting.html
>
> However, with that setup I have been unable to execute only a single
> test of JDT for each command. Can anyone provide some insight onto how
> I may be able to execute a single JDT test per command?
AFAIK this is not possible. The smallest set you can execute is the test
suite by specifying -classname <classWithTestSuite>.

Dani
>
> Also following the execution, I would need to record the information
> (whether the test passed/failed/error with stack trace) somewhere so I
> can reformat it and output it later.
> Thanks,
> Wing
Previous Topic:Classpath generation on manifest file for runnable jar
Next Topic:Eclipse JEE Debug Carashes - TimeoutException
Goto Forum:
  


Current Time: Tue Apr 23 10:40:31 GMT 2024

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

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

Back to the top