Skip to content
@network-unit-testing-system

Network Unit Testing System

Pytest plugin to run network unit tests

Thanks for visiting NUTS (Network Unit Testing System) 👋

NUTS is a Pytest plugin enabling network testing using YAML files.

Documentation

You can find the whole documentation at https://nuts.readthedocs.io/.

Nuts components

Usage

Install nuts using pip:

$ pip install nuts

Write tests in YAML File:

- test_class: TestNapalmBgpNeighbors
  test_data:
    - host: R1
      local_id: 172.16.255.1
      local_as: 45001
      peer: 172.16.255.2
      remote_as: 45002
      remote_id: 0.0.0.0
      is_enabled: true
      is_up: false
    - host: R2
      peer: 172.16.255.2
      is_up: false

Run Pytest:

$ pytest -v

Nuts successful

Repositories

Repository Description Documentation
nuts Pytest plugin using YAML to execute network unit tests https://nuts.readthedocs.io/
nuts-containerlab-demo Demo lab with containerlab to see Nuts in action
nuts-testclient Container with SSH server containing useful tools for testing
nuts-clinet-tests TestCases for (Linux) clients

Popular repositories Loading

  1. nuts nuts Public

    NUTS defines a desired network state and checks it against a real network using pytest and nornir.

    Python 106 5

  2. nuts-containerlab-demo nuts-containerlab-demo Public

    Shell 12

  3. nuts-testclient nuts-testclient Public

    Container with SSH server containing useful tools for testing

    Dockerfile 2 1

  4. nornir_nuts nornir_nuts Public

    Nornir plugins designed for use with Nuts.

    Python 1

  5. .github .github Public

  6. nuts-clinet-tests nuts-clinet-tests Public

    TestCases for clients

    Python

Repositories

Showing 7 of 7 repositories
  • network-unit-testing-system/example-custom-netmiko-cli-test’s past year of commit activity
    Python 0 0 0 0 Updated Nov 2, 2024
  • nuts Public

    NUTS defines a desired network state and checks it against a real network using pytest and nornir.

    network-unit-testing-system/nuts’s past year of commit activity
    Python 106 MIT 5 22 1 Updated Nov 1, 2024
  • nornir_nuts Public

    Nornir plugins designed for use with Nuts.

    network-unit-testing-system/nornir_nuts’s past year of commit activity
    Python 1 0 0 0 Updated Jul 31, 2024
  • network-unit-testing-system/nuts-containerlab-demo’s past year of commit activity
    Shell 12 MIT 0 0 0 Updated Aug 15, 2023
  • nuts-testclient Public

    Container with SSH server containing useful tools for testing

    network-unit-testing-system/nuts-testclient’s past year of commit activity
    Dockerfile 2 MIT 1 0 0 Updated Aug 14, 2023
  • .github Public
    network-unit-testing-system/.github’s past year of commit activity
    0 0 0 0 Updated Aug 14, 2023
  • nuts-clinet-tests Public

    TestCases for clients

    network-unit-testing-system/nuts-clinet-tests’s past year of commit activity
    Python 0 0 6 0 Updated Aug 14, 2023

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…