You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Version of JMockit that was used: 1.40
TestNg version: 6.14.3
Description of the problem:
TestNg allows passing ITestContext to test or setup methods. If i do so, the context gets mocked by jmockit even if it was not annotated with any jmockit annotation
@Test
public void test (ITestContext ctx) {
System.out.println(ctx); // -> gets mocked to MockInvocationHandler
ctx.setAttribute("vehicle", "vehicle");
}
This means i am not able to pass anything to the test context. if i remove jmockit from the classpath, everything works as expected.
The text was updated successfully, but these errors were encountered:
Please provide the following information:
TestNg version: 6.14.3
TestNg allows passing ITestContext to test or setup methods. If i do so, the context gets mocked by jmockit even if it was not annotated with any jmockit annotation
This means i am not able to pass anything to the test context. if i remove jmockit from the classpath, everything works as expected.
The text was updated successfully, but these errors were encountered: