Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 95c2f9d1 authored by GD's avatar GD
Browse files

document test run from command line using installed package

parent adbb6dee
No related branches found
No related tags found
No related merge requests found
......@@ -49,7 +49,7 @@ Manipulated objects are imported from numpy and scipy. Matrices should be stored
### Testing the interface
- From the command line (in the project root directory):
- From the command line (to be called from the project root directory):
```bash
python tests/test_spams.py -h # print the man page
python tests/test_spams.py # run all the tests
......@@ -65,6 +65,12 @@ test_spams(['sort', 'calcAAt']) # run specific tests
test_spams(python_exec='python3') # specify the python exec
```
- From the command line (assuming `spams` package is installed):
```bash
# c.f. previous point for the different options
python -c "from spams.tests import test_spams; test_spams()"
```
---
## Links
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment