TestNG 詳細配置

在testng.xml中,suite標籤的「verbose」屬性對於解決與設定相關的錯誤非常有用。其值可設定為1至10,數值越小,詳細程度越低,數值越大,詳細程度越高。

<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

testng