2023-09-14 21:07:15 +00:00
|
|
|
# nxc Tests
|
2023-03-24 18:11:02 +00:00
|
|
|
## Running Tests
|
|
|
|
### Unit Tests
|
2023-09-14 21:07:15 +00:00
|
|
|
* Install nxc (either in venv or via Poetry)
|
2023-03-24 18:11:02 +00:00
|
|
|
* Run `pytest` (or `poetry run pytest`)
|
|
|
|
|
|
|
|
### End to End Tests
|
2023-09-14 21:07:15 +00:00
|
|
|
* Install nxc (either in venv or via Poetry)
|
2023-03-24 18:11:02 +00:00
|
|
|
* Run `python tests/e2e_tests.py -t $IP -u $USER -p $PASS`, with optional `-k` parameter
|
2023-05-08 23:34:44 +00:00
|
|
|
* Poetry: `poetry run python tests/e2e_tests.py -t $IP -u $USER -p $PASS`
|
|
|
|
* To see full errors (that might show real errors not caught by checking the exit code), run with the `--errors` flag
|