You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove old reference to setup.py
* Update some external links
* Revert "Update some external links"
This reverts commit ad5b321.
My editor had auto formatting on which added a bunch of unintended changes here.
* Revert "Remove old reference to setup.py"
This reverts commit d4c2645.
My editor had auto formatting on which added a bunch of unintended changes here.
* Update a few links
* Update obsolete method of running tests
* Expand explanation of running tests
<li><atarget="_blank" href="https://github.com/tableau/server-client-python"><spanclass="icon icon--github" title="Tableau Server Client on GitHub" alt="Tableau Server Client on GitHub">{% include icon-github.svg %}</span></a></li>
More information about configuring a remote for a fork can be found [here](https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/configuring-a-remote-for-a-fork).
45
+
More information about configuring a remote for a fork can be found [here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-repository-for-a-fork).
46
46
47
47
1. Sync your fork:
48
48
```shell
@@ -145,7 +145,7 @@ depending on how and where git is installed on your system, for example:
145
145
### Add tests
146
146
147
147
All of our tests live under the `test/` folder in the repository. We use
148
-
`pytest`and the built-in test runner `python setup.py test`.
148
+
`pytest`to run the tests.
149
149
150
150
Follow the structure of existing tests, especially if new server responses
151
151
are going to be mocked.
@@ -155,6 +155,13 @@ static file, like a .twb/.twbx/.xml, it should live under `test/assets/`
155
155
156
156
Make sure that all tests are passing before submitting your pull request.
157
157
158
+
| Test | Command |
159
+
| --- | --- |
160
+
| Test everything |`pytest test`|
161
+
| Test everything, run in parallel |`pytest -n auto test`|
162
+
| Run a specific test |`pytest test/test_user.py`|
To make changes or additions to the documentation, please create a pull request
196
203
against the **gh-pages** branch. Because the docs are in a separate branch, you
@@ -212,7 +219,7 @@ To preview and run the documentation locally, these are the steps:
212
219
1. In your browser, connect to <http://127.0.0.1:4000/server-client-python/> to preview the changes. As long as the Jekyll serve process is running, it will rebuild any new file changes automatically.
0 commit comments