|
7 | 7 | //
|
8 | 8 | // This test specification contains lists of tests that define
|
9 | 9 | // excitation parameters for your pipeline and an optional set of
|
10 |
| -// expectations of what should be seen logged by it. |
| 10 | +// expectations of what should be seen logged by it and the files it creates. |
11 | 11 |
|
12 | 12 | [
|
13 | 13 |
|
14 | 14 | // The PipelineTester test script version.
|
15 |
| - // Must be supported by the PipelineTester utility. |
| 15 | + // Must be set and supported by the PipelineTester utility. |
16 | 16 | // Check with your administrator and set it to the latest value that is
|
17 | 17 | // supported.
|
18 | 18 |
|
|
24 | 24 | // At the moment the following settings are supported:
|
25 | 25 | //
|
26 | 26 | // timeout: The time allowed for each pipeline test to complete.
|
27 |
| - // Use this to override the default of 30 seconds. |
| 27 | + // Optional. Use this to override the default of 30 seconds. |
28 | 28 | //
|
29 |
| - // creates: A list of file names that each test is expected to create. |
30 |
| - // Tests can define test-specific files with their own |
31 |
| - // 'creates' block. |
| 29 | + // creates: An optional list of file names that each test is expected to |
| 30 | + // create. Here we define files created by every test in this |
| 31 | + // file. Individual tests can define their own test-specific files |
| 32 | + // with their own 'creates' block, discussed later in this file. |
32 | 33 | //
|
33 | 34 | // There can only be one setup_collection section and it must be
|
34 |
| - // the first section. |
| 35 | + // the first section in the file. |
35 | 36 |
|
36 | 37 | setup_collection = [
|
37 | 38 | timeout: 10,
|
|
97 | 98 |
|
98 | 99 | see: [ 'Computation = 4.5673' ],
|
99 | 100 |
|
100 |
| - // Files created. |
| 101 | + // Files created (optional). |
101 | 102 | //
|
102 | 103 | // If your pipeline test creates files you can and should declare
|
103 | 104 | // their names in a `creates` block, either here or in the
|
104 |
| - // `setup_collection` section. All files defined in the creates blocks |
105 |
| - // must exist for the test to pass. Here we expect 'output.png' |
106 |
| - // but the test also expects 'output.txt' as that's defined in the |
107 |
| - // 'setup_collection' block above. |
| 105 | + // `setup_collection` section above. All files defined in |
| 106 | + // both the common creates block and the block used here |
| 107 | + // must exist for the test to pass. This test is expected to create |
| 108 | + // and 'output.png' but an 'output.txt' is also expected as that's |
| 109 | + // defined in the 'setup_collection' section (above). |
108 | 110 |
|
109 | 111 | creates: [ 'output.png' ]
|
110 | 112 |
|
|
0 commit comments