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
Copy file name to clipboardExpand all lines: README.md
+11-5Lines changed: 11 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,16 +135,22 @@ This module is typically used in tests running under django.test.TestCase and re
135
135
136
136
#### Command line switches
137
137
138
-
We have added some custom functionality to pytest which can be enabled to launching pytest with the following switches:
138
+
We have added some custom functionality to pytest which can be enabled by launching pytest with the following switches:
139
139
140
-
*`--sample-ask`: Enable a mode that invokes `kdiff3` to display diffs and, after user confirmation, can automatically update or write new test sample documents on mismatches.
140
+
*`--sample-ask`: Enable a mode that display diffs and, after user confirmation, can automatically update or write new test sample documents on mismatches.
141
141
142
-
*`parameterize_dict`: Support for parameterizing test functions by adding a dict class member containing parameter sets.
143
-
144
-
*`--pycharm`: Attempt to move the cursor in PyCharm to the location of the test of failure.
142
+
*`--pycharm`:
143
+
144
+
* Automatically open files where errors occur and move the cursor to the line of the error
145
+
146
+
* Show syntax highlighted diffs for scripts and data files using PyCharm's powerful diff viewer
147
+
148
+
* Also requires the path to the PyCharm binary to be configured in `DEBUG_PYCHARM_BIN_PATH` in `./conftest.py`.
145
149
146
150
* See `./conftest.py` for implementation and notes.
147
151
152
+
*`parameterize_dict`: Support for parameterizing test functions by adding a dict class member containing parameter sets.
153
+
148
154
Note: None of these switches can be used when running tests in parallel with xdist (`-n`, `--dist`, `--tx`).
0 commit comments