From 5c0ee3710c750d0013dd643a7cf418971d1182ad Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Mon, 11 Mar 2024 14:41:09 -0400 Subject: [PATCH] docs(fixtures): updated outdated mf6 test script reference (#144) --- docs/md/fixtures.md | 31 ++++++------------------------- 1 file changed, 6 insertions(+), 25 deletions(-) diff --git a/docs/md/fixtures.md b/docs/md/fixtures.md index 750e7fd..b847f10 100644 --- a/docs/md/fixtures.md +++ b/docs/md/fixtures.md @@ -133,34 +133,22 @@ External model test cases can be filtered by model name or by the packages the m Filtering models by name is functionally equivalent to filtering `pytest` cases with `-k`. (In the former case the filter is applied before test collection, while the latter collects tests as usual and then applies the filter.) -With no filtering, collecting models from the `modflow6-largetestmodels` repo: +For instance, running the `test_largetestmodels.py` script in the `MODFLOW-USGS/modflow6` repository's `autotest/` folder, and selecting a particular model from the `MODFLOW-USGS/largetestmodels` repository by name: ```shell -autotest % pytest -v test_z03_largetestmodels.py --collect-only -... -collected 18 items -``` - -Selecting a particular model by name: - -```shell -autotest % pytest -v test_z03_largetestmodels.py --collect-only --model test1002_biscqtg_disv_gnc_nr_dev +autotest % pytest -v test_largetestmodels.py --collect-only --model test1002_biscqtg_disv_gnc_nr_dev ... collected 1 item - - - +... ``` Equivalently: ```shell -autotest % pytest -v test_z03_largetestmodels.py --collect-only -k test1002_biscqtg_disv_gnc_nr_dev +autotest % pytest -v test_largetestmodels.py --collect-only -k test1002_biscqtg_disv_gnc_nr_dev ... collected 18 items / 17 deselected / 1 selected - - - +... ``` The `--model` option can be used multiple times, e.g. `--model --model `. @@ -170,14 +158,7 @@ The `--model` option can be used multiple times, e.g. `--model --model MODFLOW 6 models from external repos can also be filtered by packages used. For instance, to select only large GWT models: ```shell -autotest % pytest -v test_z03_largetestmodels.py --collect-only --package gwt -... -collected 3 items - - - - - +autotest % pytest -v --package gwt ``` ### Utility functions