-
Bug
-
Resolution: Fixed
-
Low
-
3.3.0
-
None
Hello,
For some reason the method in a controller is marked as not entered even though the content inside is shown to be executed. Please can you help me rationalize/ understand this?
Please refer to me screenshots:
index_method_not_executed.png: to see that the index() method is not executed even though its contents are.
test_for_index_method.png: the test that is run to get the method to run.
[CLOV-1492] Grails' controller methods are not shown as entered
Workflow | Original: New Clover Workflow [ 897417 ] | New: New Clover Workflow - Restricted [ 1473037 ] |
Workflow | Original: Clover Workflow [ 896296 ] | New: New Clover Workflow [ 897417 ] |
Workflow | Original: reviewflow [ 683130 ] | New: Clover Workflow [ 896296 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: To be reviewed [ 10026 ] | New: Resolved [ 5 ] |
Fix Version/s | Original: 4.1.0 [ 37518 ] |
Status | Original: In Progress [ 3 ] | New: To be reviewed [ 10026 ] |
Summary | Original: Grails Code Coverage Bug | New: Grails' controller methods are not shown as entered |
as workaround (if it's really necessary) you can change the access modifier to protected (or private...).
this issue only happens with public and default.