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 226174 - Navigation from Test Results window to tests
Summary: Navigation from Test Results window to tests
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Testing (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-15 12:42 UTC by Vladimir Riha
Modified: 2014-11-01 04:46 UTC (History)
1 user (show)

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 Vladimir Riha 2013-02-15 12:42:25 UTC
If one runs tests with JSTestDriver, would it be possible to use double click in Test Results window to navigate to tests (or at least file with tests)?

If some test fails, there is already expandable text with "stacktrace" but it is not clickable either (one has to use Output window where it is clickable - but this workaround cannot be used for passed tests)
Comment 1 Tomas Mysik 2013-12-12 06:16:09 UTC
Taking over.
Comment 2 Theofanis Oikonomou 2014-10-30 22:45:32 UTC
Changeset: 8b5311a0c68a
Author:    Theofanis Oikonomou <theofanis@netbeans.org>
Date:      2014-10-30 23:44
Message:
Comment 3 Theofanis Oikonomou 2014-10-30 22:48:54 UTC
(In reply to Vladimir Riha from comment #0)
> If one runs tests with JSTestDriver, would it be possible to use double
> click in Test Results window to navigate to tests (or at least file with
> tests)?

now fixed so that when you double click on a test method node that failed, the stacktraces are iterated in order to find the correct place in a test file to jump to.

> 
> If some test fails, there is already expandable text with "stacktrace" but
> it is not clickable either (one has to use Output window where it is
> clickable - but this workaround cannot be used for passed tests)

this should be fixed while fixing bug 219022. Unfortunately, there is no information available when a test case passes and so there is no way (at least that I can think of) to jump to the test file.
Comment 4 Quality Engineering 2014-11-01 04:46:29 UTC
Integrated into 'main-silver', will be available in build *201411010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8b5311a0c68a
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Task #226174 - Navigation from Test Results window to tests