a869c6f5e8 | ||
---|---|---|
.. | ||
data | ||
README.md | ||
e2e_commands.txt | ||
e2e_test.py | ||
test_smb_database.py |
README.md
nxc Tests
Running Tests
Unit Tests
- Install nxc (either in venv or via Poetry)
- Run
pytest
(orpoetry run pytest
)
End to End Tests
- Install nxc (either in venv or via Poetry)
- Run
python tests/e2e_tests.py -t $IP -u $USER -p $PASS
, with optional-k
parameter- Poetry:
poetry run python tests/e2e_tests.py -t $IP -u $USER -p $PASS
- Poetry:
- To see full errors (that might show real errors not caught by checking the exit code), run with the
--errors
flag