-
Notifications
You must be signed in to change notification settings - Fork 160
Expand file tree
/
Copy pathpytest.ini
More file actions
41 lines (38 loc) · 1.67 KB
/
Copy pathpytest.ini
File metadata and controls
41 lines (38 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[pytest]
# Directories to exclude from test discovery (prevents pytest from recursing into these)
norecursedirs =
.git
#ignore = .git im/ib/data/extract/gateway
#ignore-glob = notebooks* old/*
# Additional command-line options passed to pytest
addopts =
# Disable the warnings plugin to reduce noise in output.
-p no:warnings
# Uncomment to enable print output (captures stdout/stderr during tests)
# Useful for debugging and seeing output from unittest like elapsed seconds
#-s
# Uncomment to enable logging output in CLI (see https://stackoverflow.com/questions/4673373)
#-o log_cli=true
# Use native Python traceback format for failures and suppress captured output display
--tb=native --show-capture=no
# Verbosity level: very verbose output with full test names (e.g.,
# test/test_lib_tasks.py::TestLib::test_find_test_files2)
-vv
# Report options: a=all, p=passed, f=failed, e=error, s=skipped (shows
# summary of all outcomes)
-rpa
# Uncomment to run failed tests first
#--new-first
# Show timing info for the 3 slowest tests
--durations=3
# Use color in output when available
--color=yes
# Custom markers for categorizing and filtering tests
markers=
need_dev_container: tests that require dependencies not available in the base environment
no_container: tests that run without a container, i.e., invoke target tests
requires_ck_aws: tests that require CK AWS connection
requires_ck_infra: tests that require to run inside CK infrastructure
requires_docker_in_docker: tests that require docker children or sibling containers
slow: tests that are considered slow (~30s timeout)
superslow: tests that are considered superslow (~3600s timeout)