Scripts for testing Pharmpy with batches of models.
- Activate one of the testing environments of Pharmpy.
- pip install pytest-timeout
- Run:
pytest -n10 -W ignore --testdefs=testdefs/main.toml tests
Put the user requirement you want to validate in a comment tag in the test file. For example:
`python
# validate: has_first_order_absorption detects first order absorption for ADVAN2 models
`
Implement test where reference point is not using Pharmpy nor is hard coded (e.g. use regex to check which ADVAN a model has)