Skip to content

test: move expectThrow values to annotation on target elements #265

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

Merged
merged 3 commits into from
Jul 23, 2018

Conversation

kevmoo
Copy link
Collaborator

@kevmoo kevmoo commented Jul 22, 2018

For json_serializable_test - makes things much more DRY

@kevmoo kevmoo requested review from natebosch and jakemac53 July 22, 2018 01:14
For json_serializable_test - makes things much more DRY
@kevmoo kevmoo force-pushed the better_unit_tests branch from a829ce0 to 2431da3 Compare July 23, 2018 15:30
@jakemac53
Copy link
Collaborator

This also makes the test more opaque and brittle, i would at least add a check that you found all the annotations you were expecting to find?

@kevmoo
Copy link
Collaborator Author

kevmoo commented Jul 23, 2018

This also makes the test more opaque and brittle, i would at least add a check that you found all the annotations you were expecting to find?

As I went through these, I made sure that everything was caught.

Uh...I could have a list of all of the classes I expect as another test?

@kevmoo kevmoo merged commit 601dbb5 into master Jul 23, 2018
@kevmoo kevmoo deleted the better_unit_tests branch July 23, 2018 16:12
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

Successfully merging this pull request may close these issues.

2 participants