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

Further test error assertion improvements #618

Merged
merged 1 commit into from
May 21, 2024
Merged

Conversation

peterstace
Copy link
Owner

Description

This is a follow-on from #616.

It adds additional improvements to error assertions during testing, including:

  • Asserting on GeoJSON unmarshalling target mismatch errors (when GeoJSON is unmarshalled into the wrong type).

  • Asserting on validation errors (with assertions that the expected validation rule violation occurred).

Check List

Have you:

  • Added unit tests? Yes.

  • Add cmprefimpl tests? (if appropriate?) N/A

  • Updated release notes? (if appropriate?) N/A.

Related Issue

  • N/A

This is a follow-on from
#616.

It adds additional improvements to error assertions during testing,
including:

- Asserting on GeoJSON unmarshalling target mismatch errors (when
  GeoJSON is unmarshalled into the wrong type).

- Asserting on validation errors (with assertions that the expected
  validation rule violation occurred).
@peterstace peterstace self-assigned this May 20, 2024
@peterstace
Copy link
Owner Author

Thanks for the review!

@peterstace peterstace merged commit 5f64efe into master May 21, 2024
1 check passed
@peterstace peterstace deleted the more_error_assertions branch May 21, 2024 02:57
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.

None yet

2 participants