briantsaunders / nuts-cisco-iosxe-tests

Example of how to write a custom test library for nuts.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nuts Cisco IOSXE Test Class

This is an example of how to create a custom test class to be used with nuts.

Install

pip install git+https://github.com/briantsaunders/nuts-cisco-iosxe-tests.git

Use in Your Tests

To use this custom test class with your tests you will need to reference it in your test bundle. Below is an example:

---
- test_module: nuts_cisco_iosxe_tests.ntp_status
  test_class: TestNtpStatus
  label: NTP Tests
  test_data:
    - host: br-edge-01a
      ntp_status: synchronized

About

Example of how to write a custom test library for nuts.

License:MIT License


Languages

Language:Python 87.8%Language:Dockerfile 12.2%