Skip to content

Commit

Permalink
write release notes, update pyproject.toml for v3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bytinbit committed May 17, 2021
1 parent fd9e06a commit a935a50
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
2 changes: 1 addition & 1 deletion make-release.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
if [[ $# != 1 ]] ; then
echo "error: please provide a version tag in the form 'v.1.0.0'" >&2
echo "error: please provide a version tag in the form 'v1.0.0'" >&2
exit 1
fi

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "nuts"
version = "3.0.0-alpha-3"
version = "3.0.0"
description = "Network Unit Testing System Component of NetTowel"
authors = ["Méline Sieber, Urs Baumann, Matthias Gabriel"]
maintainers = ["Méline Sieber <[email protected]>"]
classifiers = ["Framework :: Pytest", "Development Status :: 3 - Alpha"]
classifiers = ["Framework :: Pytest", "Topic :: System :: Networking"]
homepage = "https://github.com/INSRapperswil/Nuts"
repository = "https://github.com/INSRapperswil/Nuts"
license = "MIT"
Expand Down
19 changes: 19 additions & 0 deletions release_notes/v3.0.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Release Notes for Nuts 3.0.0

Nuts 3.0.0 is a completely new version of nuts, rewritten from scratch and not compatible with earlier versions of nuts. Nuts 3.0.0. is designed as a pytest-plugin to run tests and uses nornir to interact with a network in the background. It requires python 3.7 and above. In case you wonder where version 2.0.0 went: Nuts 2 was a study project written in spring 2020, which used nornir, but not pytest to conduct tests.

Features of nuts 3.0.0:

* Write test bundles as yaml files that contain a desired state of the network. Nuts comes with a basic set of test definitions - see the documentation for details. Nuts then checks the desired state against the actual state of the network using pytest.
* Enhance nuts: Nuts is designed as pytest plugin. You can write your own, custom test definitions and test bundles to suit your specific needs. Note: It is currently not supported (but nevertheless possible), since future releases might introduce breaking changes.
* If you write your own test definitions/test classes and want to share it with the community, feel free to contact the developers and they will happily link to it in the repo readme.

Planned for 3.0.1:

* 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.

File renamed without changes.

0 comments on commit a935a50

Please sign in to comment.