Skip to content

Commit a6f2008

Browse files
authored
Document expect_fail property in README (typeddjango#69)
1 parent 97f8b32 commit a6f2008

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ On top of that, each case must comply to following types:
6262
| `env` | `Optional[Dict[str, str]]={}` | Environmental variables to be provided inside of test run |
6363
| `parametrized` | `Optional[List[Parameter]]=[]`\* | List of parameters, similar to [`@pytest.mark.parametrize`](https://docs.pytest.org/en/stable/parametrize.html) |
6464
| `skip` | `str` | Expression evaluated with following globals set: `sys`, `os`, `pytest` and `platform` |
65+
| `expect_fail` | `bool` | Mark test case as an expected failure, like [`@pytest.mark.xfail`](https://docs.pytest.org/en/stable/skipping.html) |
6566
| `regex` | `str` | Allow regular expressions in comments to be matched against actual output. Defaults to "no", i.e. matches full text.|
6667

6768
(*) Appendix to **pseudo** types used above:

0 commit comments

Comments
 (0)