network-unit-testing-system / nuts

NUTS defines a desired network state and checks it against a real network using pytest and nornir.
https://nuts.readthedocs.io/
MIT License
106 stars 5 forks source link

Add more integration self-tests for failing results #16

Closed bytinbit closed 2 years ago

bytinbit commented 3 years ago

We mostly test the sunny cases currently, but should also test for (expected) failing test results. Example would be iperf's self-test which tests for a nornir result not hitting the required bandwidth.

What can possibly go wrong:

There are currently no tests that check what happens if:

This especially concerns the function "load_module" in yaml_to_test.py. The current tests only cover the sunny cases.