Nuts

Latest version: v3.4.0

Safety actively analyzes 685525 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

3.4.0

The latest version of NUTS, 3.4.0, adds a few bug fixes and the option to cache the inventory. This is now the default behavior and can be switched off by using `--nornir-cache-disable`.

* Fix softprops/action-gh-release version by ubaumann
* sort vlans before compare, fix 98 by marcom4rtinez
* Fix docs by marcom4rtinez
* Fix Nornir Config CLI option by ubaumann
* Bump certifi from 2024.2.2 to 2024.7.4 by dependabot
* Bump urllib3 from 2.2.1 to 2.2.2 by dependabot
* Bump zipp from 3.19.0 to 3.19.1 by dependabot
* ceos startup config test fails by marcom4rtinez
* Add mock project to CI/CD by ubaumann
* add regex by marcom4rtinez
* add option to not cache the inventory by marcom4rtinez


**Full Changelog**: https://github.com/network-unit-testing-system/nuts/compare/v3.3.0...v3.4.0

3.3.0

The latest version, 3.3.0, introduces a new hook called "pytest_nuts_single_result" that allows users to customize test reports. For instance, it enables extending jUnit xunit1 reports with additional properties. You can find an illustrative example in the documentation.

* Fix: Add TestNapalmOnlyDefinedUsersExist to index by ubaumann in (79)
* Add exception chaining for Result validate exception by ubaumann in (82)
* Make TestNapalmBgpNeighbors and TestNapalmBgpNeighborsCount vrf aware by ubaumann in (81)
* Containerize to make it more accessible by marcom4rtinez in (85)
* Fix: readthedocsio by marcom4rtinez in (87)
* Fix: cicd by marcom4rtinez in (89)
* Teardown nornir connections after running task by ubaumann in (84)
* New: Add hook pytest_nuts_sigle_result by ubaumann in (94)
* Update dependencies to use NAPALM 5.0.0 by ubaumann in (95)

**Full Changelog**: https://github.com/network-unit-testing-system/nuts/compare/v3.2.0...v3.3.0

3.2.0

The latest 3.2.0 release for Nuts supports a new feature "Unpack Grouped Tests". This feature allows you to specify ``groups`` or ``tags`` for the NornirContext tests instead of using ``host``.
Based on the filter result on Nornir inventory for each host a test is created.

* Add feature "Unpack Grouped Tests" (65)
* Update (secutiry) dependencis (72)
* Remove legacy project name Nettowel (74)
* Removed lucmurer as a maintainer, add marcom4rtinez and ubaumann
* Rename ``master`` branch into ``main``

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

3.1.0

The latest 3.1.0 release for Nuts contains some new tests contributed by marcom4rtinez and sevigrimm, and fixes some security (dependency) issues.

* Add test bundle for ARP table testing (57)
* Add test bundle for VLAN testing (57, 29)
* Add test bundle for Config testing (startup vs. running config) (57)
* Add count tests for CDP/LLDP neighbors (57)
* Add existence test for network instances to network instance test bundle (57)
* Fix some dependency-security issues (56)
* Removed bytinbit as a maintainer

3.0.2

Not secure
* Add more integration tests for "bad" results
* Add API documentation

3.0.1

Not secure
* Improve error handling - the current implementation has an opaque error handling and is not really informative or helpful.
* Refactor self-tests - the current self-tests are hard to read for non-devs and must be improved.

**Planned for 4.0.0 (aka the far future)**

Nuts is deeply intertwined with pytest to create test classes out of the yaml file. It digs deep into pytest to use its functionalities without really committing to pytest. It smells of future problems with project growth. Version 4 will try to solve that, but this may also introduce breaking changes.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.