This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| automation:test-the-network [2025/07/18 14:46] – jotasandoku | automation:test-the-network [2025/07/18 22:04] (current) – jotasandoku | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * System testing - entire application | * System testing - entire application | ||
| + | ---- | ||
| + | |||
| + | ====PYATS=== | ||
| + | * {{ : | ||
| + | * {{ : | ||
| + | * {{ : | ||
| + | |||
| + | Topics | ||
| + | * ' | ||
| + | * TestScripts: | ||
| + | * Jobs: executes TestScripts as tasks. Also allows to execute multiple TestScripts in parallel | ||
| + | |||
| + | * pyATS library (Genie): Data PARSING. Tooling used to extract the network data. | ||
| + | * Genie Harness: Used to build **test cases using YAML datafiles** | ||
| + | |||
| + | * Easypy - Runtime | ||
| + | * Others: Blitz, Clean, ' | ||
| + | * AEtest (Easy Testing): scaffolding/ | ||
| + | |||
| + | |||
| + | === TESTSCRIPT === | ||
| + | Is the python file that holds all your tests. | ||
| + | |||
| + | * Common setup: Initial configuration and device initialization including loops - decorator : '' | ||
| + | * Testcases: ' | ||
| + | * Cleanup: Resets the testing environment after the test - decorator: '' | ||
| + | |||
| + | ** see slides 46,47 for examples (classes..)) ** | ||
| + | \\ | ||
| + | Test Parameters: TestScript > Testcase > TestSection | ||
| + | |||
| + | * Callable | ||
| + | * Test Parameters - decorator : '' | ||
| + | * Test Execution: | ||
| + | * Standalone: all logging is sent to stdout. See slide 64-65 | ||
| + | * Easypy: Standardized runtime env within pyATS. Helpful for regression testing | ||
| + | |||
| + | ---- | ||
| ---- | ---- | ||
| ==== OPTIONS ==== | ==== OPTIONS ==== | ||
| Line 95: | Line 133: | ||
| - | ====PYATS=== | ||
| - | * {{ : | ||
| - | * {{ : | ||
| - | Topics | ||
| - | * ' | ||
| - | * TestScripts: | ||
| - | * Jobs: executes TestScripts as tasks. Also allows to execute multiple TestScripts in parallel | ||
| - | |||
| - | * pyATS library (Genie): Data PARSING. Tooling used to extract the network data. | ||
| - | * Genie Harness: Used to build **test cases using YAML datafiles** | ||
| - | |||
| - | * Easypy - Runtime | ||
| - | * Others: Blitz, Clean, ' | ||
| - | * * AEtest Infrastructure - Testing Framework | ||
| - | |||
| - | ---- | ||
| ===== Further Reading ===== | ===== Further Reading ===== | ||