Function | Purpose |
---|---|
Test project | Separate production projects from tests |
Call script of other project | Test a production script before registering as service |
Assertion adapter | Verify data |
Batch run scripts | Execute tests |
Output test result report | Automated reporting |
Term | Description |
---|---|
Production script | Script to be used in service operation. |
Production project | Project to be used in service operation. |
Test script | Script to test production scripts. |
Test project | Project to test production projects. It has functions specialized for testing. |
No. | Item | Description | Corresponding function |
---|---|---|---|
1. | Create test project | Create a test project to test scripts of a production project. | |
2. | Create test script | Create test scripts which call the developed production scripts and describe tests.
Also, correct some production scripts as necessary. |
|
3. | Batch run test scripts | Batch run the test scripts created in No.2 of the project. | |
4. | Check test result report | Check the contents of test result report generated by the batch run in No.3.
Correct some test scripts and production scripts according to the result. |
![]() In a test project, you can use the following dedicated functions to support testing a project.
|
![]() There is no functional restriction that production projects and test projects must be one-to-one relationship. However, we recommend one-to-one relationship because it provides some administrative advantages. When a production project is “PRJ-001” and the test project for that is “PRJ-001_TEST”, you can understand the test target immediately. |
![]() As a script of another project can be called, you can test a production script before service registration (under development). In so doing, you can detect problems in earlier phases. ![]() |
Item name | Description | Remarks |
---|---|---|
Script list | List the test scripts in project. |
|
Script list/Target | Select whether or not to test each script.
|
|
Script list/Script name | The test script name is displayed. | |
Script list/Execution result | The execution result of the test script is displayed.
The execution results are the following.
|
|
Specify type | Select whether or not to specify “Type” for test script batch run.
|
|
Specify type for execution | Select or enter a type for test script batch run. |
|
Use default type when specified type is not found | Select whether or not to use the default type when the specified type global resource is not found.
|
|
Run | The scripts of which [Target] is [Checked] are batch executed. |
|
Stop | Stop batch running scripts. |
|
![]() The advantage of batch running scripts is to batch execute the test scripts in a test project and output the test result without registering the project as a service. You can batch run only from Designer. ![]() |
Item name | Description | Remarks |
---|---|---|
Project | The project name batch executed is output. | |
Script | The script name batch executed is output. | |
Result | The execution result of script is output.
|
|
Message code | The message code is output when the result is “Failure” or “Error”. | |
Error message | The error message is output when the result is “Failure” or “Error”. | |
Execution ID | The execution ID of script is output. | |
Exit status | The exit status of script is output. | |
Execution time (seconds) | The execution time of script is output in seconds. |
![]() A test result report is assumed to be used as is for the verification result (evidence) of the test phase. |
ID | Date | Number |
---|---|---|
ID001 | 2017-01-01 | 500 |
ID053A | 2017-02-02 | 1200 |
ID001,2017-01-01,500 ID053A,2017-02-02,1200
ID,2017-01-01,500 ID,2017-02-02,1200