Auto Test Sturcture
In an Automation test system
[Test.Executor.ps1] // TE_
Test Suite1. Execute()
Test Suite2. Execute()
[Test Setup]
Testcase 1
Testcase 2
In a test suite:
Test suite is a collection of testcases which has similar test characteristic as well as could share the same test environment setup, so that only need setup the environment once to same the execution time.
[TestSuite Setup] //TS_
Setup variable / constant used in the test script
[Testcase] //TC_
[Testcase Setup ]
Test setup Procedure 1 // TP_
Test setup Procedure 1
....
[Test Execution]
Test Procedure 1
Test Procedure 2
Test Procedure 3
Test Procedure 4
[Testcase Cleanup]
Test cleanup Procedure 1
Test cleanup Procedure 2
......
In Testcase library 1
Test setup Procedure 1 {}
Test setup Procedure 2 {}
......
Test Procedure 1 {}
Test Procedure 2 {}
......
Test cleanup Procedure 1 {}
Test cleanup Procedure 2 {}
......
In Test library 1
Test Helper Procedure 1{}
Test Helper Procedure 2{}
In Test Parmameters
Constant 1
Constant 2
[Test.Executor.ps1] // TE_
Test Suite1. Execute()
Test Suite2. Execute()
[Test Setup]
Testcase 1
Testcase 2
In a test suite:
Test suite is a collection of testcases which has similar test characteristic as well as could share the same test environment setup, so that only need setup the environment once to same the execution time.
[TestSuite Setup] //TS_
Setup variable / constant used in the test script
[Testcase] //TC_
[Testcase Setup ]
Test setup Procedure 1 // TP_
Test setup Procedure 1
....
[Test Execution]
Test Procedure 1
Test Procedure 2
Test Procedure 3
Test Procedure 4
[Testcase Cleanup]
Test cleanup Procedure 1
Test cleanup Procedure 2
......
In Testcase library 1
Test setup Procedure 1 {}
Test setup Procedure 2 {}
......
Test Procedure 1 {}
Test Procedure 2 {}
......
Test cleanup Procedure 1 {}
Test cleanup Procedure 2 {}
......
In Test library 1
Test Helper Procedure 1{}
Test Helper Procedure 2{}
In Test Parmameters
Constant 1
Constant 2
Comments
Post a Comment