82 lines
2.7 KiB
Plaintext
Raw Permalink Normal View History

<TestGroup>
<Variables>
<Variable name="$agent_host" value="localhost" />
</Variables>
<ParallelTests>
<!-- This is really just one test -->
<ParallelTest>
<Name>Testing</Name>
<Tests>
<TestConf>
<Name>Testing</Name>
<Assembly>pnunit.tests.dll</Assembly>
<TestToRun>TestLibraries.Testing.EqualTo19</TestToRun>
<Machine>$agent_host:8080</Machine>
</TestConf>
</Tests>
</ParallelTest>
<!-- Parallel Test on a single agent - no barriers -->
<ParallelTest>
<Name>Parallel_Tests</Name>
<Tests>
<TestConf>
<Name>ParallelTest_A_Test</Name>
<Assembly>pnunit.tests.dll</Assembly>
<TestToRun>TestLibraries.ParallelExample.ParallelTest_A</TestToRun>
<Machine>$agent_host:8080</Machine>
<TestParams>
<!-- sleep time in seconds -->
<string>2</string>
</TestParams>
</TestConf>
<TestConf>
<Name>ParallelTest_B_Test</Name>
<Assembly>pnunit.tests.dll</Assembly>
<TestToRun>TestLibraries.ParallelExample.ParallelTest_B</TestToRun>
<Machine>$agent_host:8080</Machine>
<TestParams>
<string>1</string>
<!-- sleep time in seconds -->
</TestParams>
</TestConf>
</Tests>
</ParallelTest>
<!-- Parallel Test using two agents - with wait barriers -->
<ParallelTest>
<Name>Parallel_Barriers</Name>
<Tests>
<TestConf>
<Name>Parallel_Barriers_TestA</Name>
<Assembly>pnunit.tests.dll</Assembly>
<TestToRun>TestLibraries.ParallelExampleWithBarriers.ParallelTestWithBarriersA</TestToRun>
<Machine>$agent_host:8080</Machine>
<TestParams>
</TestParams>
<WaitBarriers>
<string>START_BARRIER</string>
<string>WAIT_BARRIER</string>
</WaitBarriers>
</TestConf>
<TestConf>
<Name>Parallel_Barriers_TestB</Name>
<Assembly>pnunit.tests.dll</Assembly>
<TestToRun>TestLibraries.ParallelExampleWithBarriers.ParallelTestWithBarriersB</TestToRun>
<Machine>$agent_host:8081</Machine>
<TestParams>
</TestParams>
<WaitBarriers>
<string>START_BARRIER</string>
<string>WAIT_BARRIER</string>
</WaitBarriers>
</TestConf>
</Tests>
</ParallelTest>
</ParallelTests>
</TestGroup>