This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 255721 - Running or debugging of individual TestNG tests sometimes does not work
Summary: Running or debugging of individual TestNG tests sometimes does not work
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-06 09:22 UTC by Jiri Kovalsky
Modified: 2015-10-06 09:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project reproducing inability to run individual TestNG tests. (3.91 KB, application/zip)
2015-10-06 09:22 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2015-10-06 09:22:44 UTC
Created attachment 156546 [details]
Project reproducing inability to run individual TestNG tests.

Product Version: NetBeans IDE 8.1 RC (Build 201510012201)
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Linux version 3.13.0-37-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/8.1rc
Cache directory: /home/cesilko/.cache/netbeans/8.1rc

Description:
============
Under some circumstances users can neither run nor debug individual TestNG tests.

Steps to reproduce:
===================
1. Launch NetBeans IDE and open attached GreetingProject project.
2. Right click "Source Packages" node and invoke "Tools > Create/Update Tests" from popup menu.
3. In "Create Tests" dialog select "TestNG" framework and push "OK" button.
4. Right click "GreetingProject" project and invoke "Test" from its popup menu.
5. In "Test Results" output window right click "No test passed... > TestSuite Failed > cannot.run.individual.testng.test.AppNGTest.testMain Failed: ..." node and invoke "Run Again" from its popup menu.

Expected: The testMain test is run and you see that it failed again in the Test Results output window and no other test results.
Actual: "No tests executed:" appears in the Test Results window.