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 268988 - Test view integrated in the editor
Summary: Test view integrated in the editor
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: Dev
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-15 15:16 UTC by jarrdie
Modified: 2016-11-16 12:23 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 jarrdie 2016-11-15 15:16:23 UTC
Assuming that a good unit testing approach is to have one test class per source class (e.g. Strings.java is tested in StringsTest.java), and considering that this is already supported in NetBeans with commands like "Navigate/Go to Test-Tested Class", it would be nice to have the test class embedded in the source class tab of the editor.

As result, every class visualized in the editor would have three views: "Source", "History" and "Test", all in the same tab of the editor. Currently, whenever a class is moved/renamed, the test class has to be moved/renamed manually too. I spend a reasonably amount of time putting together the source class tab with the test class tab in the editor and keeping them synchronized.

With this feature, NetBeans would automatically manage the test classes in a way that they would be always synchronized with the name/location of the source class. "Navigate/Go to Test-Tested Class" would only change the view, not the tab.