cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
282
Views
0
Helpful
1
Replies

pyATS constructor for common setup/cleanup routines

l00pback
Level 1
Level 1

I would like to have multiple test suite .py files which will be run as a bundle by pyATS job.

How can I have single defined common setup/cleanup routines which will run once whenever the pyATS job is executed instead of having the same common setup/cleanup defined within each of the .py test suite files ?

Is this possible at all?

1 Reply 1

You can do this with the pyATS job file structure and the testbed-level (or job-level) setup/cleanup features, as well as the AETest  setup/cleanup. https://pypi.org/project/pyats.aetest/

Hope this helps.

Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io