-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest.ini
More file actions
66 lines (61 loc) · 2.45 KB
/
pytest.ini
File metadata and controls
66 lines (61 loc) · 2.45 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[pytest]
# Test discovery
python_files = test_*.py *_test.py
python_classes = Test* *Test
python_functions = test_* *_test
testpaths = python/tests
# Console output options
addopts = -v -ra --showlocals --strict-markers --tb=short --color=yes --show-capture=all --disable-warnings
# Markers for categorizing tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
fast: marks tests as fast running
unit: marks tests as unit tests
integration: marks tests as integration tests
validation: marks tests that validate argument combinations
edge_case: marks tests for edge cases
parametrize: marks parametrized tests
train_rl: marks tests related to reinforcement learning training
mrl_train: marks tests related to meta-learning training
train_sl: marks tests related to supervised learning training
train_ul: marks tests related to unsupervised learning training
train_semi: marks tests related to semi-supervised learning training
train_self: marks tests related to self-supervised learning training
hp_optim: marks tests related to hyperparameter optimization
eval: marks tests related to evaluation command
architecture: marks tests related to deep learning architectures
integration: marks integration tests
policies: marks tests for simulation policies
model: marks tests for classical machine learning models
data: marks tests for data processing
gpu: marks tests requiring GPU/CUDA
skip: skip this test
skipif: skip this test if condition is true
xfail: expected to fail
anyio: marks tests as anyio (requires anyio)
# Filter warnings
filterwarnings =
ignore:.*pkg_resources is deprecated.*
ignore:.*ModuleAvailableCache.*
ignore:.*torch_geometric.distributed.*
ignore::DeprecationWarning
ignore::PendingDeprecationWarning
ignore::UserWarning
ignore::FutureWarning
ignore:.*urllib3.*:UserWarning
ignore:.*distutils.*:DeprecationWarning
ignore::scipy.linalg.LinAlgWarning
ignore:The covariance matrix of class 1 is not full rank.*
error::ResourceWarning
# Logging configuration
log_level = INFO
log_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_date_format = %Y-%m-%d %H:%M:%S
log_cli = true
log_cli_level = INFO
log_cli_format = %(asctime)s [%(levelname)8s] %(name)s: %(message)s
log_cli_date_format = %Y-%m-%d %H:%M:%S
# JUnit XML output
junit_suite_name = wsmart_route
junit_logging = all
junit_duration_report = call