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 249316 - Mocha: Navigate to test/tested class asks for Unit test folder
Summary: Mocha: Navigate to test/tested class asks for Unit test folder
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Testing (show other bugs)
Version: 8.1
Hardware: PC Linux
: P4 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-12 09:46 UTC by Vladimir Riha
Modified: 2015-01-06 09:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-12-12 09:46:57 UTC
I have a HTML/JS project without unit tests folder, but with Selenium tests folder. If I open Selenium test case file and invoke Navigate -> Go To Test/Tested Class, IDE asks for Unit tests folder as it thinks I'm in sources I guess.

I think this feature won't be much useful for Selenium tests. Could it be either:
 - disabled
 - or "just" modify it so that Selenium test file would be considered as "test" and thus IDE would be looking for "tested class" not "test" and it would (I imagine out of the box) as a result just display dialog "Tested file not found for ...." ?


From my point of view, the 2nd option sounds 

Thank you



Product Version: NetBeans IDE Dev (Build 201412120001)
Java: 1.7.0_71; Java HotSpot(TM) Client VM 24.71-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Theofanis Oikonomou 2014-12-22 16:28:43 UTC
Changeset: 44f09da9452d
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2014-12-22 17:28
Message:
Comment 2 Quality Engineering 2014-12-24 04:11:12 UTC
Integrated into 'main-silver', will be available in build *201412240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/44f09da9452d
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #249316 - Mocha: Navigate to test/tested class asks for Unit test folder
Comment 3 Vladimir Riha 2015-01-06 09:05:03 UTC
Thank you, verified

Product Version: NetBeans IDE Dev (Build 201501060001)
Java: 1.7.0_71; Java HotSpot(TM) Client VM 24.71-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_71-b14
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)