Problem with running unit tests in Eclipse using Debug As/Run As option

1 view
Skip to first unread message

Karthik Krishnan

unread,
Jun 30, 2009, 3:38:19 AM6/30/09
to testng...@googlegroups.com
To reproduce the problem:

1. Download the plugin
2. Create a TestNG test
3. Right Click -> Debug As/Run As (Select TestNG)
4. The unit test does not run.

There is a work around: You can create a TestNG test by opening a Debug/Run dialog.

Bill Michell

unread,
Jun 30, 2009, 7:45:58 AM6/30/09
to testng...@googlegroups.com

On 30 Jun 2009, at 08:38, Karthik Krishnan wrote:

> 3. Right Click -> Debug As/Run As (Select TestNG)


Right click where? The context menu is context sensitive, so it
matters...
--
Bill Michell
billm...@gmail.com


Karthik Krishnan

unread,
Jun 30, 2009, 1:40:38 PM6/30/09
to testng-users
You can do it two ways:

1. Select the TestNG test file in the package explorer then right
click > run as/debug as
2. open the test file and once you have it open, then right click ->
run as /debug as...

Thanks,

Karthik
> billmich...@gmail.com
Reply all
Reply to author
Forward
0 new messages