en un clic
integration-test-helper
// Helps launching the full process of integration test, also investigate and report the results.
// Helps launching the full process of integration test, also investigate and report the results.
| name | integration-test-helper |
| description | Helps launching the full process of integration test, also investigate and report the results. |
The whole process should be run under current directory, unless it is specified to ($ARGUMENTS[0]) Under the target dir there are the stuff and instructions.
First read README.md under target directory, instructions should be under heading named ($ARGUMENTS[1]). If there is no such a heading name, just try the "Test" heading.
The instructions often contain multiple steps which should be completed in sequence. Following are some rules MUST be obey while handling each step:
Any command mentioned in steps should be executed by Bash tool, with following MUST DO for handling the outputs:
<desc_of_ccommand>_<day>_<time>.logIt may need to jump to other directories for executing a step. We MUST go back to target directory after every step has been completed. Also, DO NOT change anything outside of target directy.
Command execution should get success return. If error raised while executing, do following process:
Try to analysis the reason of error, first from the caught error message. If there is no enough data, grep useful information from the log file of whole output just captured.
MUST ASK USER for next action, options are:
Error often caused by some mismacthing of configruation in current host. Here are some tips which may help:
When every step has done, or the process stop by user, make following materials before stop:
report_<day>_<time>.txt.