Skip to content

Commit 8f49ec3

Browse files
authored
CLN: update test paths in contributing guide (#164)
1 parent 3ded66e commit 8f49ec3

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/source/contributing.rst

+6-5
Original file line numberDiff line numberDiff line change
@@ -250,21 +250,22 @@ Running the test suite
250250
The tests can then be run directly inside your Git clone (without having to
251251
install *pandas-gbq*) by typing::
252252

253-
pytest pandas_gbq
253+
pytest tests/unit
254+
pytest tests/system.py
254255

255256
The tests suite is exhaustive and takes around 20 minutes to run. Often it is
256257
worth running only a subset of tests first around your changes before running the
257258
entire suite.
258259

259260
The easiest way to do this is with::
260261

261-
pytest pandas_gbq/path/to/test.py -k regex_matching_test_name
262+
pytest tests/path/to/test.py -k regex_matching_test_name
262263

263264
Or with one of the following constructs::
264265

265-
pytest pandas_gbq/tests/[test-module].py
266-
pytest pandas_gbq/tests/[test-module].py::[TestClass]
267-
pytest pandas_gbq/tests/[test-module].py::[TestClass]::[test_method]
266+
pytest tests/[test-module].py
267+
pytest tests/[test-module].py::[TestClass]
268+
pytest tests/[test-module].py::[TestClass]::[test_method]
268269

269270
For more, see the `pytest <http://doc.pytest.org/en/latest/>`_ documentation.
270271

0 commit comments

Comments
 (0)