=
commited on
Commit
·
dba247b
1
Parent(s):
3a69c90
updated guidlines
Browse files- CONTRIBUTING.rst +2 -28
CONTRIBUTING.rst
CHANGED
@@ -109,35 +109,9 @@ Before you submit a pull request, check that it meets these guidelines:
|
|
109 |
Tips
|
110 |
----
|
111 |
|
|
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
.. code-block:: console
|
116 |
-
|
117 |
-
$ pip install -r requirements_dev.txt
|
118 |
-
|
119 |
-
- Or just install pytest
|
120 |
-
|
121 |
-
.. code-block:: console
|
122 |
-
|
123 |
-
$ pip install pytest
|
124 |
-
|
125 |
-
|
126 |
-
- you can run tests individually for each translator by passing the prefix **test_** followed by the translator name as an argument to pytest.
|
127 |
-
|
128 |
-
.. code-block:: console
|
129 |
-
|
130 |
-
$ pytest test_google_trans
|
131 |
-
$ pytest test_linguee
|
132 |
-
$ pytest test_mymemory
|
133 |
-
$ pytest test_pons
|
134 |
-
|
135 |
-
- Alternatively, you can run the test suite
|
136 |
-
|
137 |
-
.. code-block:: console
|
138 |
-
|
139 |
-
$ pytest -ra
|
140 |
-
|
141 |
|
142 |
|
143 |
Deploying
|
|
|
109 |
Tips
|
110 |
----
|
111 |
|
112 |
+
To run a subset of tests::
|
113 |
|
114 |
+
$ pytest -ra
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
|
116 |
|
117 |
Deploying
|