-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpytest.ini
More file actions
43 lines (36 loc) · 1.24 KB
/
pytest.ini
File metadata and controls
43 lines (36 loc) · 1.24 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
[pytest]
# Pytest configuration for aiida-jutools
# Test discovery patterns
python_files = test_*.py
python_classes = Test*
python_functions = test_*
# Test paths
testpaths = tests
# Console output
console_output_style = progress
addopts =
-v
--tb=short
--strict-markers
# Markers for organizing tests
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
requires_computer: marks tests that require an AiiDA computer to be configured
requires_database: marks tests that require AiiDA database access
unit: marks tests as unit tests (fast, no external dependencies)
integration: marks tests as integration tests
# Warning filters
# By default, show all warnings but don't fail on them
# To fail on deprecation warnings, run: pytest --strict-warnings
# Or use: pytest -W error::DeprecationWarning
filterwarnings =
default::DeprecationWarning
default::FutureWarning
# Ignore specific third-party warnings if needed:
# ignore::DeprecationWarning:paramiko
# ignore::CryptographyDeprecationWarning
# Coverage options (if pytest-cov is installed)
# Uncomment to enable coverage reporting:
# addopts = --cov=aiida_jutools --cov-report=html --cov-report=term
# Minimum Python version
minversion = 3.8