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

Add IO tests for invalid inputs #13

Open
sciwhiz12 opened this issue Dec 1, 2023 · 0 comments
Open

Add IO tests for invalid inputs #13

sciwhiz12 opened this issue Dec 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@sciwhiz12
Copy link
Member

Our current battery of tests check that the various IO modules serialize and deserialize the data without any unwanted change or errors.

However, for wider coverage, we should also add tests for checking that invalid inputs -- missing required fields, out-of-range indexes -- are caught on deserialization.

I'm not sure how those same tests would look for serialization, if they're needed at all for it (as ideally, our data-holdings objects should be validating their arguments are as expected).

@sciwhiz12 sciwhiz12 added the enhancement New feature or request label Dec 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant