User Tools

Site Tools


automation:test-the-network

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
automation:test-the-network [2025/07/18 15:43] – [PYATS] jotasandokuautomation:test-the-network [2025/07/18 22:04] (current) jotasandoku
Line 11: Line 11:
   * {{ :automation:pyats_and_network_validation.pdf |}}   * {{ :automation:pyats_and_network_validation.pdf |}}
   * {{ :automation:pyats_and_network_validation_examples.pdf |}}   * {{ :automation:pyats_and_network_validation_examples.pdf |}}
 +  * {{ :automation:pyats_oreilly-danw.pdf | OREILLY-PRES}} / [[https://github.com/dannywade/oreilly-live-training-pyats]]
  
 Topics Topics
Line 28: Line 29:
 Is the python file that holds all your tests. Is the python file that holds all your tests.
  
-  * Common setup: Initial configuration and device initialization including loops. decorator - ''@aetest.setup''+  * Common setup: Initial configuration and device initialization including loops - decorator : ''@aetest.setup''
   * Testcases: 'Container'(self-contained) for our tests. Setup/Test/Cleanup. testcase.uid (must be unique, is a python 'property') - decorator: ''@aetest.test''   * Testcases: 'Container'(self-contained) for our tests. Setup/Test/Cleanup. testcase.uid (must be unique, is a python 'property') - decorator: ''@aetest.test''
   * Cleanup: Resets the testing environment after the test - decorator: ''@aetest.cleanup''   * Cleanup: Resets the testing environment after the test - decorator: ''@aetest.cleanup''
Line 36: Line 37:
 Test Parameters: TestScript > Testcase > TestSection  (they are classes (eg: testcase). see code)) Test Parameters: TestScript > Testcase > TestSection  (they are classes (eg: testcase). see code))
  
 +  * Callable 
 +  * Test Parameters - decorator : ''@aetest.parameter''
 +  * Test Execution: 
 +    * Standalone: all logging is sent to stdout. See slide 64-65
 +    * Easypy: Standardized runtime env within pyATS. Helpful for regression testing
  
 ---- ----
automation/test-the-network.1752853428.txt.gz · Last modified: by jotasandoku