单元测试系列[v1.0.1][TestNG执行配置]




<suite name="All Test Suite">
    <test verbose="2" preserve-order="true" name="group1">
        <packages>
                
        packages>
    test>
suite>



<suite name="All Test Suite">
    <test verbose="2" preserve-order="true" name="Demo">
        <classes>
            <class name="com.davieyang.application.AnnoTestDemo">
                <methods>
                    <include name="testCase."/>
                    <exclude name="testCase6"/>
                    <exclude name="testCase7"/>
                methods>
            class>
        classes>
    test>
suite>



<suite name="All Test Suite">
    <groups>
        <run>
            <include name="group"/>
        run>
    groups>
    <test verbose="2" preserve-order="true" name="Demo">
        <packages>
                
        packages>
    test>
suite>

你可能感兴趣的:(单元测试-Java)