From e620798a4f3846dfeee80bde25a602f034f448f1 Mon Sep 17 00:00:00 2001 From: Tim Swast Date: Tue, 10 Apr 2018 16:14:47 -0700 Subject: [PATCH] CLN: update test paths in contributing guide --- docs/source/contributing.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/source/contributing.rst b/docs/source/contributing.rst index e6467eab..351fccd0 100644 --- a/docs/source/contributing.rst +++ b/docs/source/contributing.rst @@ -250,7 +250,8 @@ Running the test suite The tests can then be run directly inside your Git clone (without having to install *pandas-gbq*) by typing:: - pytest pandas_gbq + pytest tests/unit + pytest tests/system.py The tests suite is exhaustive and takes around 20 minutes to run. Often it is worth running only a subset of tests first around your changes before running the @@ -258,13 +259,13 @@ entire suite. The easiest way to do this is with:: - pytest pandas_gbq/path/to/test.py -k regex_matching_test_name + pytest tests/path/to/test.py -k regex_matching_test_name Or with one of the following constructs:: - pytest pandas_gbq/tests/[test-module].py - pytest pandas_gbq/tests/[test-module].py::[TestClass] - pytest pandas_gbq/tests/[test-module].py::[TestClass]::[test_method] + pytest tests/[test-module].py + pytest tests/[test-module].py::[TestClass] + pytest tests/[test-module].py::[TestClass]::[test_method] For more, see the `pytest `_ documentation.