test.conf 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <TestGroup>
  2. <Variables>
  3. <Variable name="$agent_host" value="localhost" />
  4. </Variables>
  5. <ParallelTests>
  6. <!-- This is really just one test -->
  7. <ParallelTest>
  8. <Name>Testing</Name>
  9. <Tests>
  10. <TestConf>
  11. <Name>Testing</Name>
  12. <Assembly>pnunit.tests.dll</Assembly>
  13. <TestToRun>TestLibraries.Testing.EqualTo19</TestToRun>
  14. <Machine>$agent_host:8080</Machine>
  15. </TestConf>
  16. </Tests>
  17. </ParallelTest>
  18. <!-- Parallel Test on a single agent - no barriers -->
  19. <ParallelTest>
  20. <Name>Parallel_Tests</Name>
  21. <Tests>
  22. <TestConf>
  23. <Name>ParallelTest_A_Test</Name>
  24. <Assembly>pnunit.tests.dll</Assembly>
  25. <TestToRun>TestLibraries.ParallelExample.ParallelTest_A</TestToRun>
  26. <Machine>$agent_host:8080</Machine>
  27. <TestParams>
  28. <!-- sleep time in seconds -->
  29. <string>2</string>
  30. </TestParams>
  31. </TestConf>
  32. <TestConf>
  33. <Name>ParallelTest_B_Test</Name>
  34. <Assembly>pnunit.tests.dll</Assembly>
  35. <TestToRun>TestLibraries.ParallelExample.ParallelTest_B</TestToRun>
  36. <Machine>$agent_host:8080</Machine>
  37. <TestParams>
  38. <string>1</string>
  39. <!-- sleep time in seconds -->
  40. </TestParams>
  41. </TestConf>
  42. </Tests>
  43. </ParallelTest>
  44. <!-- Parallel Test using two agents - with wait barriers -->
  45. <ParallelTest>
  46. <Name>Parallel_Barriers</Name>
  47. <Tests>
  48. <TestConf>
  49. <Name>Parallel_Barriers_TestA</Name>
  50. <Assembly>pnunit.tests.dll</Assembly>
  51. <TestToRun>TestLibraries.ParallelExampleWithBarriers.ParallelTestWithBarriersA</TestToRun>
  52. <Machine>$agent_host:8080</Machine>
  53. <TestParams>
  54. </TestParams>
  55. <WaitBarriers>
  56. <string>START_BARRIER</string>
  57. <string>WAIT_BARRIER</string>
  58. </WaitBarriers>
  59. </TestConf>
  60. <TestConf>
  61. <Name>Parallel_Barriers_TestB</Name>
  62. <Assembly>pnunit.tests.dll</Assembly>
  63. <TestToRun>TestLibraries.ParallelExampleWithBarriers.ParallelTestWithBarriersB</TestToRun>
  64. <Machine>$agent_host:8081</Machine>
  65. <TestParams>
  66. </TestParams>
  67. <WaitBarriers>
  68. <string>START_BARRIER</string>
  69. <string>WAIT_BARRIER</string>
  70. </WaitBarriers>
  71. </TestConf>
  72. </Tests>
  73. </ParallelTest>
  74. </ParallelTests>
  75. </TestGroup>