I'm digging little bit the TestNG framework.
I'm using annotations to configure thread values in my test case, example:
@Test(threadPoolSize = 2, invocationCount = 10)
public void testOne() {
//some code
}
The idea is config these values in a config file and this values should be passed to all tests.
So I need to change these values from a config entry or pass this value through unitTest constructor, but TestNG is only accepting CONSTANT values.
Any tips/ideas?
Thanks in advance!