Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 2.0
-
Component/s: IntelliJ IDEA plug-in
-
Labels:None
-
Number of attachments :
Description
[ Requested by Henrik Westman on 01-Feb-2005 at 12:53 ]
Simple realtime highlighting, based on methods called from test class, a sort of "poor mans Clover".
Makes it easy to do the right thing (i.e. increase coverage).
Test: Can see methods not covered, and see intention to add them:
Open file MyClass.java in IntelliJ
Expect to see methods not called frmo corresponding unit-testclass,
highlighted in yellow
Type ctrl-shift-T
Place cursor in body, outside of method, of file MyClassTest.java
Expect intention to add tests of methods on MyClass, currently not called from MyClassTest
Test: Can switch off "Highlight non-covered methods":
Type ctrl-alt-S in IntelliJ
Click on "TestDox"
Click on "Highlight non-covered methods" in "Behaviour"
Open file MyClass.java in IntelliJ
Expect not to see methods not called highlighted in yellow
Type ctrl-shift-T
Place cursor in body, outside of method, of file MyClassTest.java
Expect no intention to add methods on MyClass, not called from MyClassTest
//hw