Configuration
src
include
A list of files and directories to check. Including a file or directory will make it so that it (and its contents) are tested.
testsmatches a directory namedteststests/test.pymatches a file namedtest.pyin thetestsdirectory
Default value: null
Type: list[str]
Example usage (pyproject.toml):
| TOML | |
|---|---|
1 2 | |
respect-ignore-files
Whether to automatically exclude files that are ignored by .ignore,
.gitignore, .git/info/exclude, and global gitignore files.
Enabled by default.
Default value: true
Type: bool
Example usage (pyproject.toml):
| TOML | |
|---|---|
1 2 | |
terminal
output-format
The format to use for printing diagnostic messages.
Defaults to full.
Default value: full
Type: full | concise
Example usage (pyproject.toml):
| TOML | |
|---|---|
1 2 | |
show-python-output
Whether to show the python output.
This is the output the print goes to etc.
Default value: true
Type: true | false
Example usage (pyproject.toml):
| TOML | |
|---|---|
1 2 | |
test
fail-fast
Whether to fail fast when a test fails.
Defaults to false.
Default value: false
Type: true | false
Example usage (pyproject.toml):
| TOML | |
|---|---|
1 2 | |
test-function-prefix
The prefix to use for test functions.
Defaults to test.
Default value: test
Type: string
Example usage (pyproject.toml):
| TOML | |
|---|---|
1 2 | |