Skip to content
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

Automate the generation of unit test json returns #43

Open
patricklatimer opened this issue Oct 3, 2024 · 0 comments
Open

Automate the generation of unit test json returns #43

patricklatimer opened this issue Oct 3, 2024 · 0 comments

Comments

@patricklatimer
Copy link
Collaborator

The json return examples in src/aind_slims_api/tests/resources are manually fetched and copied in, which makes it useful for regression testing of our code but brittle to SLIMS database changes. We should have an easy way to regenerate those when there's an update to the SLIMS schema itself, so that we don't have code that passes unit tests but fails integration tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant