mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Upgrading SpeckFlow and Nunit
--HG-- branch : 1.x
This commit is contained in:
@@ -1,24 +1,82 @@
|
||||
<TestGroup>
|
||||
<ParallelTests>
|
||||
|
||||
<ParallelTest>
|
||||
<Variables>
|
||||
<Variable name="$agent_host" value="localhost" />
|
||||
</Variables>
|
||||
|
||||
<ParallelTests>
|
||||
|
||||
<!-- This is really just one test -->
|
||||
<ParallelTest>
|
||||
<Name>Testing</Name>
|
||||
<Tests>
|
||||
<TestConf>
|
||||
<Name>Testing</Name>
|
||||
<Tests>
|
||||
<TestConf>
|
||||
<Name>Testing</Name>
|
||||
<Assembly>pnunit.tests.dll</Assembly>
|
||||
<TestToRun>TestLibraries.Testing.EqualTo19</TestToRun>
|
||||
<Machine>localhost:8080</Machine>
|
||||
<TestParams>
|
||||
<string>..\server</string> <!-- server dir -->
|
||||
<string></string> <!-- database server -->
|
||||
<string></string><!-- conn string -->
|
||||
</TestParams>
|
||||
</TestConf>
|
||||
|
||||
</Tests>
|
||||
</ParallelTest>
|
||||
<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>
|
Reference in New Issue
Block a user