File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ Running the tests
150
150
-v /tmp:/tmp \
151
151
-ti faucet/tests
152
152
153
- Running a single test
153
+ Running a single test including pytype, linting, and documentation
154
154
~~~~~~~~~~~~~~~~~~~~~
155
155
156
156
.. code :: console
@@ -175,6 +175,21 @@ in order to complete a faucet test suite run against hardware quicker.
175
175
-v /tmp:/tmp \
176
176
-ti faucet/tests
177
177
178
+ Running only a single integration test
179
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
180
+
181
+ Sometimes you will want to skip the pytype, linting and documenation tests
182
+ and simply run a single integration test. Optionally ``-k `` will also save
183
+ the results.
184
+
185
+ .. code :: console
186
+
187
+ sudo docker run --privileged --net=host \
188
+ -e FAUCET_TESTS="-i -n -k FaucetUntaggedLLDPTest" \
189
+ -v /etc/faucet:/etc/faucet \
190
+ -v /tmp:/tmp \
191
+ -ti faucet/tests
192
+
178
193
Checking test results
179
194
~~~~~~~~~~~~~~~~~~~~~
180
195
You can’t perform that action at this time.
0 commit comments