Test inventory#
Built from the test files of tests/, read without running them, and pytest.ini each time the site is built. Fix a wrong row there.
A test function is counted once. pytest collects one item per parameter set of a parametrized function, so pytest --collect-only reports more items than this page counts functions.
Tiers#
Tier |
Files |
Test functions |
Parametrized |
|---|---|---|---|
tests/unit/ |
1 171 |
10 881 |
2 246 |
tests/validation/ |
57 |
94 |
63 |
tests/integration/ |
62 |
295 |
28 |
tests/regression/ |
26 |
77 |
15 |
tests/e2e/ |
13 |
28 |
0 |
tests/scenarios/ |
32 |
89 |
8 |
tests/refusals/ |
11 |
102 |
43 |
tests/ports/ |
8 |
204 |
82 |
tests/processes/ |
8 |
21 |
2 |
tests/characterization/ |
7 |
42 |
2 |
tests/performance/ |
3 |
6 |
0 |
All tiers |
1 398 |
11 839 |
2 489 |
Folders#
tests/unit#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
4 |
13 |
annex |
9 |
45 |
api |
4 |
59 |
architecture |
10 |
202 |
calibration |
63 |
1 369 |
catalog |
2 |
16 |
catchment |
66 |
508 |
cli |
42 |
411 |
config |
28 |
292 |
core |
91 |
765 |
data |
119 |
773 |
display |
41 |
380 |
docs |
21 |
142 |
examples |
3 |
14 |
launchers |
6 |
33 |
mesh |
57 |
467 |
model |
74 |
578 |
project |
49 |
641 |
regression |
1 |
10 |
results |
169 |
1 469 |
schema |
16 |
125 |
server |
2 |
48 |
solver |
196 |
1 598 |
tools |
41 |
431 |
validation |
13 |
60 |
validation_cases |
5 |
85 |
workflow |
39 |
347 |
tests/validation#
Folder |
Files |
Test functions |
|---|---|---|
analytical |
36 |
57 |
calibration |
12 |
25 |
mms |
2 |
3 |
numerical |
7 |
9 |
tests/integration#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
28 |
101 |
annex |
2 |
18 |
calibration |
2 |
3 |
catchment |
1 |
8 |
cli |
3 |
7 |
data |
1 |
23 |
data_managers |
1 |
2 |
display |
1 |
1 |
domain |
1 |
14 |
exports |
1 |
7 |
results |
1 |
1 |
solver |
8 |
33 |
tools |
1 |
14 |
workflow |
11 |
63 |
tests/regression#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
1 |
8 |
catalog |
1 |
1 |
data |
1 |
1 |
extensive |
3 |
3 |
fast |
13 |
14 |
frozen_documents |
1 |
16 |
frozen_replay |
1 |
6 |
frozen_runs |
1 |
21 |
mesh |
2 |
2 |
toml_io |
1 |
1 |
zarr |
1 |
4 |
tests/e2e#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
13 |
28 |
tests/scenarios#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
32 |
89 |
tests/refusals#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
11 |
102 |
tests/ports#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
8 |
204 |
tests/processes#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
1 |
3 |
data |
1 |
5 |
results |
5 |
11 |
server |
1 |
2 |
tests/characterization#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
7 |
42 |
tests/performance#
Folder |
Files |
Test functions |
|---|---|---|
(tier root) |
3 |
6 |
Markers#
Declared in pytest.ini. A function counts when the mark decorates it; a file counts when its pytestmark carries the mark. tests/conftest.py also adds the mark of the tier to every test by path.
Marker |
Meaning |
Functions |
Files |
|---|---|---|---|
allow_subprocess |
allow subprocess calls inside unit/ tier |
114 |
23 |
analytical |
validation test compared to an analytical reference solution |
56 |
1 |
binary |
requires a solver binary on PATH |
52 |
20 |
boussinesq |
Boussinesq solver specific test |
0 |
0 |
characterization |
characterization-tier tests (auto-tagged by path) |
0 |
0 |
coverage |
long-running coverage tests |
3 |
0 |
e2e |
end-to-end pipeline scenarios |
14 |
5 |
extensive |
extended regression checks for deeper validation |
3 |
0 |
fast |
quick-running validation, integration, or fast-tier regression cases |
246 |
99 |
integration |
tests that call external services or systems |
19 |
13 |
intercomparison |
cross-solver comparison regression case |
2 |
0 |
mf6 |
MODFLOW 6 / GWT test case |
76 |
18 |
network |
requires network access |
0 |
2 |
nwt |
MODFLOW-NWT / MODPATH / MT3DMS test case |
5 |
0 |
performance |
performance baseline benchmarks (pytest-benchmark; P0 baseline gate) |
0 |
3 |
petsc |
tests that exercise the Linux PETSc-backed Boussinesq runtime |
20 |
0 |
ports |
port tests, one file per port registry, parametrized on its names (auto-tagged by path) |
0 |
0 |
processes |
tests that start several processes on one folder (auto-tagged by path) |
0 |
0 |
refusals |
refusal tables, one input per row with its class, code and sentence (auto-tagged by path) |
0 |
0 |
regression |
non-regression tests based on reference datasets |
17 |
4 |
scenario |
a synthetic project played by the real pipeline |
0 |
1 |
slow |
long-running validation, integration, or regression tests |
38 |
8 |
solver_sanity |
benchmark built directly on the solver SDK (e.g. flopy) - validates the external solver against an analytical reference, not the hydromodpy pipeline |
4 |
0 |
steady |
steady-state validation or regression case |
29 |
4 |
timeout |
per-test timeout in seconds (pytest-timeout; no-op without plugin) |
4 |
2 |
transient |
transient validation or regression case |
47 |
0 |
unit |
unit-tier tests (auto-tagged by path) |
6 |
7 |
validation |
scientific or benchmark validation tests against a reference solution |
79 |
3 |
whitebox |
drives the Whitebox native binding; runs alone, never under xdist |
0 |
1 |
windows |
proves a Windows behaviour; skipped elsewhere, fails when skipped under HMP_REQUIRE_WINDOWS |
6 |
0 |
xdist_group |
pytest-xdist group name so related tests stay on the same worker (no-op without pytest-xdist –dist loadgroup) |
51 |
7 |
Marks used in the tests and not declared in pytest.ini: benchmark. A pytest plugin may declare them.