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

  1. nuts nuts Public

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

    Python 85 5

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

    Shell 9

  3. nuts-testclient nuts-testclient Public

    Container with SSH server containing useful tools for testing

    Dockerfile 1 1

  4. .github .github Public

  5. nuts-clinet-tests nuts-clinet-tests Public

    TestCases for clients

    Python

Repositories

Showing 5 of 5 repositories

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…