@@ -68,15 +68,12 @@ Using ``nox``
68
68
We use `nox <https://nox.readthedocs.io/en/latest/ >`__ to instrument our tests.
69
69
70
70
- To test your changes, run unit tests with ``nox ``::
71
+ $ nox -s unit
71
72
72
- $ nox -s unit-2.7
73
- $ nox -s unit-3.8
74
- $ ...
73
+ - To run a single unit test::
75
74
76
- - Args to pytest can be passed through the nox command separated by a `-- `. For
77
- example, to run a single test::
75
+ $ nox -s unit-3.9 -- -k <name of test>
78
76
79
- $ nox -s unit-3.8 -- -k <name of test>
80
77
81
78
.. note::
82
79
@@ -143,18 +140,16 @@ Running System Tests
143
140
- To run system tests, you can execute::
144
141
145
142
# Run all system tests
146
- $ nox -s system-3.8
147
- $ nox -s system-2.7
143
+ $ nox -s system
148
144
149
145
# Run a single system test
150
- $ nox -s system-3.8 -- -k <name of test>
146
+ $ nox -s system-3.9 -- -k <name of test>
151
147
152
148
153
149
.. note::
154
150
155
- System tests are only configured to run under Python 2.7 and
156
- Python 3.8. For expediency, we do not run them in older versions
157
- of Python 3.
151
+ System tests are only configured to run under Python 3.8 and 3.9.
152
+ For expediency, we do not run them in older versions of Python 3.
158
153
159
154
This alone will not run the tests. You'll need to change some local
160
155
auth settings and change some configuration in your project to
@@ -218,8 +213,8 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
218
213
.. _config : https://github.com/googleapis/python-bigquery-sqlalchemy/blob/master/noxfile.py
219
214
220
215
221
- We also explicitly decided to support Python 3 beginning with version
222
- 3.6. Reasons for this include:
216
+ We also explicitly decided to support Python 3 beginning with version 3.6.
217
+ Reasons for this include:
223
218
224
219
- Encouraging use of newest versions of Python 3
225
220
- Taking the lead of `prominent `_ open-source `projects `_
0 commit comments