Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The context (shown on the left side of the execution screen details) is with the name of the "suite" plus the name of the "test" as defined in the XML configuration file used by TestNG. If the Test method corresponds to a parameterized test, then the values used for that specific run are appended to the context.


Image RemovedImage Added


Code Block
languagexml
titleExample of a TestNG configuration file
collapsetrue
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

<suite name="TestAll">

	<test name="calculatorA">
		<classes>
			<class name="com.xpand.java.CalcTest" />
		</classes>
	</test>

	<test name="calculatorB">
		<classes>
			<class name="com.xpand.java.CalcTest" />
		</classes>
	</test>


</suite>

...