registry/aqua-tests/README.md
shamsartem 9b5cfbd987
fix: run all tests with different secret keys [fixes DXJ-242] (#187)
* fix: run all tests with different secret keys [fixes DXJ-242]

* set recommended rust toolchain

* set different test_name

* update fluence cli version

* Update aqua-tests/README.md

* handle empty out

Co-authored-by: Aleksey Proshutisnkiy <justprosh@users.noreply.github.com>
2023-01-27 12:23:16 +03:00

522 B

Registry API tests

How to run

  • npm i
  • pip3 install -r requirements.txt
  • pip install -U pytest
  • pytest -n auto

Adding new test

Before adding new test go to the aqua-tests dir first, then run npm run secret to add a new key-pair for the new test. Name it the same way the test function will be called (e.g. test_create_resource) This is required for tests to run in parallel. Key-pairs could've been generated on the fly but it's a bit faster to not waste time on it each time the tests are run