When running my TestNG test https://github.com/AffanHasan/reference-artifacts-repository/blob/master/javase/office-desktop/src/test/java/task_item/TaskItem_behaviorTest.java containing JMockit @Mocked objects it is skipping those tests which contains @Mocked annotated objects as test method parameters
Asked
Active
Viewed 143 times
0
-
Check the version of TestNG, it should be 6.2 or newer (6.8 recommended). – Rogério Feb 18 '15 at 20:15
-
Thanks Rogerio by upgrading the version to 6.8.21 the issue resolved – Affan Hasan Feb 19 '15 at 07:43
1 Answers
0
By upgrading the TestNG version to 6.8.21 the issue is resolved and all the tests are being executed now. Thanks Rogerio!

Affan Hasan
- 334
- 1
- 4
- 16