From a18b95ca120848b5febc54d5a5d3360a7e0498e6 Mon Sep 17 00:00:00 2001 From: ines Date: Wed, 31 May 2017 12:43:40 +0200 Subject: [PATCH] Update docs on testing --- website/docs/usage/index.jade | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/website/docs/usage/index.jade b/website/docs/usage/index.jade index b12fb0c9d..c79c689a4 100644 --- a/website/docs/usage/index.jade +++ b/website/docs/usage/index.jade @@ -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