mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-26 09:14:32 +03:00
Update docs on testing
This commit is contained in:
parent
baa6070548
commit
a18b95ca12
|
@ -354,12 +354,14 @@ p
|
|||
python -c "import os; import spacy; print(os.path.dirname(spacy.__file__))"
|
||||
|
||||
p
|
||||
| Then run #[code pytest] on that directory. The flags #[code --vectors],
|
||||
| #[code --slow] and #[code --model] are optional and enable additional
|
||||
| tests:
|
||||
| Then run #[code pytest] on that directory. The flags #[code --slow] and
|
||||
| #[code --model] are optional and enable additional tests.
|
||||
|
||||
+code(false, "bash").
|
||||
# make sure you are using recent pytest version
|
||||
python -m pip install -U pytest
|
||||
|
||||
python -m pytest <spacy-directory> --vectors --models --slow
|
||||
python -m pytest <spacy-directory> # basic tests
|
||||
python -m pytest <spacy-directory> --slow # basic and slow tests
|
||||
python -m pytest <spacy-directory> --models --all # basic and all model tests
|
||||
python -m pytest <spacy-directory> --models --en # basic and English model tests
|
||||
|
|
Loading…
Reference in New Issue
Block a user