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 258230 - Only build the test attempting to execute
Summary: Only build the test attempting to execute
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: UnitTest Support (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-03 14:31 UTC by slip
Modified: 2016-03-03 14:31 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slip 2016-03-03 14:31:17 UTC
Overview:

When working on a test in a project, often I will need to modify the code being tested.

After modifying the project then going back to re-compile and run the test all tests re-link before running the test that I requested to run. This takes a lot of time to complete and it is especially bad on projects with a large number of tests.

It would be desirable if only the test I attempt to run re-built/re-linked instead of all of the tests.

Steps to reproduce:
1. Open a project with multiple tests.
2. Make changes to the project, save then build.
3. Attempt to run a single test.

Actual Results:
All tests re-link before running the test requested.

Expected Results:
Only the test that has been requested to execute should re-link before running.

Build Date & Hardware:
Product Version: NetBeans IDE 8.1 (Build 201510222201)
Updates: NetBeans IDE is updated to version NetBeans 8.1 Patch 1
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-30-generic running on amd64; UTF-8; en_GB (nb)