-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/split testing #174
Conversation
…r bug in vr.core.config.py
…tual files not needed
In addition to restructuring the test files to match the code directory structure, this also reorganises the test data files, merging the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one minor comment.
tests/core/test_model.py
Outdated
"""Test module for model.py (and associated functionality). | ||
|
||
This module tests the functionality of model.py, as well as other bits of code that | ||
define models based on the class defined in model.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would you like to add here {MODEL_NAME}_model.py? Or mention that this is a general test for the model?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that bit definitely could be clearer. I've tried to clarify that this script tests model.py
which is the script that provides the framework that other specific models (e.g. abiotic_model.py
) have to follow
Description
The test files have now been split such that their structure mirrors the structure of the package code. This PR also changes the name of the model specific
model.py
to{MODEL_NAME}_model.py
to make things a bit clearer.Fixes #166
Fixed #168
Type of change
Key checklist
pre-commit
checks:$ pre-commit run -a
$ poetry run pytest
Further checks