Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test.conf - github.com/mono/mdtestharness.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ce825ebe30ab9d8cfa56cf1b0b5c6813dd3c9861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<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>