Utilities for FrostFS automation
Find a file
Vladimir Avdeev 655a86a5b0 Implement neofs-cli lib
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
2022-10-06 10:41:32 +03:00
.github/workflows added DCO check 2022-10-04 12:36:54 +03:00
src/neofs_testlib Implement neofs-cli lib 2022-10-06 10:41:32 +03:00
tests [#7] Add contribution guideline with code style 2022-10-06 10:59:26 +04:00
.gitignore [#3] Add tools required to build PyPI package 2022-09-28 13:10:35 +04:00
.pre-commit-config.yaml Implement basic version of ssh shell 2022-09-09 17:53:36 +03:00
CONTRIBUTING.md [#7] Add contribution guideline with code style 2022-10-06 10:59:26 +04:00
LICENSE Initial commit 2022-08-24 16:36:00 +03:00
pyproject.toml [#3] Add tools required to build PyPI package 2022-09-28 13:10:35 +04:00
README.md [#7] Add contribution guideline with code style 2022-10-06 10:59:26 +04:00
requirements.txt [#3] Add tools required to build PyPI package 2022-09-28 13:10:35 +04:00

neofs-testlib

This library provides building blocks and utilities to facilitate development of automated tests for NeoFS system.

Installation

Library can be installed via pip:

$ pip install neofs-testlib

Library structure

The library provides the following primary components:

  • cli - wrappers on top of neoFS command-line tools. These wrappers execute on a shell and provide type-safe interface for interacting with the tools.
  • reporter - abstraction on top of test reporting tool like Allure. Components of the library will report their steps and attach artifacts to the configured reporter instance.
  • shell - shells that can be used to execute commands. Currently library provides local shell (on machine that runs the code) or SSH shell that connects to a remote machine via SSH.

Contributing

Any contributions to the library should conform to the contribution guideline.