Hi,
I suggest to improve documentation for @Test annotation attribute. Current text is:
boolean
org.
testng.
annotations.
Test.singleThreaded()
If set to true, all the methods on this test class are guaranteed to run in the same thread, even if the tests are currently being run with parallel="true". This attribute can only be used at the class level and will be ignored if used at the method level.
I suggest to add sentence "Methods run can be
interleaved by other tests." and thus change it to:
If set to true, all the methods on this test class are guaranteed to run
in the same thread, even if the tests are currently being run with
parallel="true". Methods run can be
interleaved by other tests. This attribute can only be used at the class level and
will be ignored if used at the method level.
Best regards.