Skip to content

Commit 3009ed8

Browse files
authored
Merge pull request datastax#997 from datastax/python-988_remove-setuppy-from-test-docs
PYTHON-988 fix nosetests docs in README-dev
2 parents 48b1228 + 67db0da commit 3009ed8

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README-dev.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -79,35 +79,35 @@ Running the Tests
7979
=================
8080
In order for the extensions to be built and used in the test, run::
8181

82-
python setup.py nosetests
82+
nosetests
8383

8484
You can run a specific test module or package like so::
8585

86-
python setup.py nosetests -w tests/unit/
86+
nosetests -w tests/unit/
8787

8888
You can run a specific test method like so::
8989

90-
python setup.py nosetests -w tests/unit/test_connection.py:ConnectionTest.test_bad_protocol_version
90+
nosetests -w tests/unit/test_connection.py:ConnectionTest.test_bad_protocol_version
9191

9292
Seeing Test Logs in Real Time
9393
-----------------------------
9494
Sometimes it's useful to output logs for the tests as they run::
9595

96-
python setup.py nosetests -w tests/unit/ --nocapture --nologcapture
96+
nosetests -w tests/unit/ --nocapture --nologcapture
9797

9898
Use tee to capture logs and see them on your terminal::
9999

100-
python setup.py nosetests -w tests/unit/ --nocapture --nologcapture 2>&1 | tee test.log
100+
nosetests -w tests/unit/ --nocapture --nologcapture 2>&1 | tee test.log
101101

102102
Specifying a Cassandra Version for Integration Tests
103103
----------------------------------------------------
104104
You can specify a cassandra version with the ``CASSANDRA_VERSION`` environment variable::
105105

106-
CASSANDRA_VERSION=2.0.9 python setup.py nosetests -w tests/integration/standard
106+
CASSANDRA_VERSION=2.0.9 nosetests -w tests/integration/standard
107107

108108
You can also specify a cassandra directory (to test unreleased versions)::
109109

110-
CASSANDRA_DIR=/home/thobbs/cassandra python setup.py nosetests -w tests/integration/standard
110+
CASSANDRA_DIR=/home/thobbs/cassandra nosetests -w tests/integration/standard
111111

112112
Specifying the usage of an already running Cassandra cluster
113113
----------------------------------------------------
@@ -120,7 +120,7 @@ Specify a Protocol Version for Tests
120120
The protocol version defaults to 1 for cassandra 1.2 and 2 otherwise. You can explicitly set
121121
it with the ``PROTOCOL_VERSION`` environment variable::
122122

123-
PROTOCOL_VERSION=3 python setup.py nosetests -w tests/integration/standard
123+
PROTOCOL_VERSION=3 nosetests -w tests/integration/standard
124124

125125
Testing Multiple Python Versions
126126
--------------------------------

0 commit comments

Comments
 (0)