Skip to main content



      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 03:18 Go to next message
Eclipse UserFriend
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 11:37 Go to previous message
Eclipse UserFriend
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: Fri May 16 02:12:58 EDT 2025

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

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

Back to the top