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

test: more consistent error handling in integration tests #938

Merged
merged 3 commits into from
Jan 29, 2024
Merged

Conversation

blgm
Copy link
Member

@blgm blgm commented Jan 26, 2024

In the integration tests we were using the must() helper and also the Expect(err).NotTo(HaveOccured()) pattern. Both are ok, but the code is cleaner when we are more consistent, and the must() pattern is more consise, so the tests were updated to use this pattern wherever possible.

In the integration tests we were using the `must()` helper and also the
`Expect(err).NotTo(HaveOccured())` pattern. Both are ok, but the code is
cleaner when we are more consistent, and the `must()` pattern is more
consise, so the tests were updated to use this pattern wherever
possible.
@cf-gitbot
Copy link

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/186921655

The labels on this github issue will be updated when the story is started.

@blgm blgm merged commit 08c9983 into main Jan 29, 2024
7 checks passed
@blgm blgm deleted the consterrhand branch January 29, 2024 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants