In testng.xml, the “verbose” attribute of the suite tag is very useful for troubleshooting configuration related error. Its values can be set as 1 to 10, and smaller value means lower verbose and bigger value means higher verbose.

<suite name="Test suite name" verbose="1">
    <test name="Test case name" preserve-order="true">
        <packages>
            <package name="space.yuanjiang.test.*">
                ...
            </package>
        </packages>
    </test>
    ...
</suite>

Reference here

BACK TO TOP
Post tagged with: testng