Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spams-python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
thoth
spams-python
Commits
95c2f9d1
Commit
95c2f9d1
authored
3 years ago
by
GD
Browse files
Options
Downloads
Patches
Plain Diff
document test run from command line using installed package
parent
adbb6dee
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+7
-1
7 additions, 1 deletion
README.md
with
7 additions
and
1 deletion
README.md
+
7
−
1
View file @
95c2f9d1
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment