CLI Automatic Test with Perl | ||
---|---|---|
<<< Previous | Next >>> |
The idea was to create testing suite in way that build and run test scenarios will be simple as possible.
This suite include 4 basic stages:
Connectivity package/module
— This script include functions responsible for all remote activity (Expect) between DUT (Device Under Test) and test.
Test scenario
— It is simple XML file that describe the test session. Regression script will parse it and run defined test cases.
Template file
— Template files will include all (as much as possible) responses that we would expect from device while running interactive sessions.
Regression script
— This one will run interactively all commands on DUT that appears in XML scenario and compare the results to the existing template files.
<<< Previous | Home | Next >>> |
12. Session ending | 14. DUT connectivity module/package |