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 tests to validate structs #47

Open
Ninigi opened this issue Sep 18, 2018 · 0 comments
Open

Add tests to validate structs #47

Ninigi opened this issue Sep 18, 2018 · 0 comments
Assignees

Comments

@Ninigi
Copy link
Collaborator

Ninigi commented Sep 18, 2018

To prevent issues like #45 we should add tests that read out the fixture keys and validate that the struct actually defines the correct fields.

Ideally we would not write a test for every single field in the struct, but use generated code to iterate over the keys and validate them automatically

@Ninigi Ninigi self-assigned this Sep 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant