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 239154 - "Rerun" button runs all tests instead of the last selection
Summary: "Rerun" button runs all tests instead of the last selection
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-05 12:16 UTC by Jiri Kovalsky
Modified: 2013-12-19 12:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project exhibiting the incorrect "Rerun" bug. (17.43 KB, application/zip)
2013-12-05 12:16 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2013-12-05 12:16:59 UTC
Created attachment 142859 [details]
Project exhibiting the incorrect "Rerun" bug.

Product Version: NetBeans IDE Dev (Build 201312040002)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b36
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev

Description:
============
Even though I invoked "Test Package" action only on one package (which worked as expected) "Rerun" button runs all tests.

Steps to reproduce:
===================
1. Extract the attached Calculator project, open it in the IDE and build it.
2. Right click "Source Packages > simple" package and invoke "Test Package" from popup menu.
3. In the "Calculator" tab of "Test Results" output window press "Rerun" button.
4. Both advanced.DivideTest and simple.AddTest tests were run.
Comment 1 Theofanis Oikonomou 2013-12-06 11:58:55 UTC
Fixed: http://hg.netbeans.org/core-main/rev/3e6002f4ee15
Comment 2 Quality Engineering 2013-12-07 04:24:44 UTC
Integrated into 'main-silver', will be available in build *201312070002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/3e6002f4ee15
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: #239154 - "Rerun" button runs all tests instead of the last selection
Comment 3 Jiri Kovalsky 2013-12-19 12:40:44 UTC
Product Version: NetBeans IDE Dev (Build 201312190002)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b36
System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/dev
Cache directory: /home/cesilko/.cache/netbeans/dev