testng
testng copied to clipboard
TestNG testing framework
http://stackoverflow.com/q/34081981/4234729
``` java @BeforeMethod public void setUp(ITestNGMethod method) { method.setTimeOut(timeout); } ```
### TestNG Version > Note: only the latest version is supported ### Expected behavior See @danberindei comments on https://github.com/cbeust/testng/pull/841
Test class is this: ``` java package xalkina.test; import org.testng.annotations.Test; public class TestClazz2 { private String name; public TestClazz2() { this.name = null; } public TestClazz2(String name) { this.name =...
I thought it would be good to have some number in the report telling how many tests is ignored. ### Actual behavior Now TestNG has in the output report something...
Related to #1490 From: @baev in https://github.com/cbeust/testng/pull/1505#issuecomment-324061822 Possible solution: > `ITestNGMethod.getTestInstance() -> ITestInstance` and `ITestInstance.getFactoryMethod() -> ConstructorOrMethod`? > > `ITestInstance` is just a modelization of the instance which will contain...
It looks like the current pattern is to add test classes to the suites. For instance, https://github.com/cbeust/testng/blob/40f7935b00d3546187f793e98d0f49ea41ef542d/testng-core/src/test/resources/testng.xml seems to list classes that are not really related. `testng.xml` adds no parameters,...
### TestNG Version 6.12 ### Expected behavior TestNG should work with JMockit https://github.com/jmockit/jmockit1/issues/464 The first step will be to add non-regression tests.
### TestNG Version > Note: only the latest version is supported 6.12 There are some unsafe casts being done in Invoker class. Examples can be found from the below review...
### TestNG Version 7.0.0-beta3 ### Expected behavior Need to have Global thread count so that we can control total thread when we have x number of thread-count and x number...