Changes between Version 12 and Version 13 of doc/tec/testsuite
- Timestamp:
- Jan 16, 2018 11:29:02 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
doc/tec/testsuite
v12 v13 37 37 }}} 38 38 39 == How to add a test case == 40 41 Any developer can add new test cases. This is as simple as adding a respective {{{*_p3d}}} file and {{{*_rc}}} file to the INSTALL directory in the PALM trunk. The {{{palmtest}}} script will detect all available {{{*_p3d}}} namelist files with matching {{{*_rc}}} in this directory, execute them using {{{palmrun}}} and compare them to the respective {{{*_rc}}} reverence file. Please make sure the reverence {{{*_rc}}} file is valid and reproducible. It is the developers responsibility to make sure that the newly added test succeeds at the time it is added! All methodical errors associated with a specific test case that arise later, are also the initial developers responsibility. 42 39 43 == Rules for test case development == 40 44 … … 44 48 2. The execution time of the test case on a single core should not exceed 10 seconds. 45 49 3. The test case is only allowed to be committed after the developer made sure that the test can run successful on the server. 50 4. If a test case creates problems that are not fixable within an acceptable timeframe, the test case will be removed. The test case may be added again, ones all problems are solved. 46 51 47 52 == List of proposed test cases ==