diff options
author | David Reid <dreid@dreid.org> | 2014-01-20 10:14:40 -0800 |
---|---|---|
committer | David Reid <dreid@dreid.org> | 2014-01-20 10:14:40 -0800 |
commit | cd10571261ad24dcd0dc63c9703289faccd841a8 (patch) | |
tree | 5994b0a095af99749e05ee936f8932af9a86ff40 /docs/contributing.rst | |
parent | 580e992dc0d95618d3e667e471dd1d6a7eb6e323 (diff) | |
parent | ad4f646e685beb38e597bab83ea8e8314a3fd581 (diff) | |
download | cryptography-cd10571261ad24dcd0dc63c9703289faccd841a8.tar.gz cryptography-cd10571261ad24dcd0dc63c9703289faccd841a8.tar.bz2 cryptography-cd10571261ad24dcd0dc63c9703289faccd841a8.zip |
Merge pull request #468 from reaperhulk/backend-flag-pytest
Add backend flag for pytest runs
Diffstat (limited to 'docs/contributing.rst')
-rw-r--r-- | docs/contributing.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/contributing.rst b/docs/contributing.rst index 8e32c368..4bb1461d 100644 --- a/docs/contributing.rst +++ b/docs/contributing.rst @@ -250,6 +250,16 @@ each supported Python version and run the tests. For example: You may not have all the required Python versions installed, in which case you will see one or more ``InterpreterNotFound`` errors. + +Explicit Backend Selection +~~~~~~~~~~~~~~~~~~~~~~~~~~ + +While testing you may want to run tests against a subset of the backends that +cryptography supports. Explicit backend selection can be done via the +``--backend`` flag. This flag should be passed to ``py.test`` with a comma +delimited list of backend names. To use it with ``tox`` you must pass it as +``tox -- --backend=openssl``. + Building Documentation ~~~~~~~~~~~~~~~~~~~~~~ |