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

Organize Bamboo's TestAdapter test file #601

Merged
merged 1 commit into from
May 14, 2021

Conversation

germsvel
Copy link
Collaborator

What changed?

I wanted to get a better understanding of Bamboo's test helpers to improve them, but it was difficult to find out how we were testing them in the test_adapter_test.exs .

They all seemed interspersed without any structure. So this commit organizes them by function they are testing. We also try to use assert_raise were possible to simplify the assertions, while continuing to match the error and the error message.

What changed?
============

I wanted to get a better understanding of Bamboo's test helpers to
improve them, but it was difficult to find out how we were testing them
in the `test_adapter_test.exs` .

They all seemed interspersed without any structure. So this commit
organizes them by function they are testing. We also try to use
`assert_raise` were possible to simplify the assertions, while
continuing to match the error and the error message.
@germsvel germsvel merged commit 4724a16 into master May 14, 2021
@germsvel germsvel deleted the organize-test-adapter-tests branch May 14, 2021 19:34
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.

1 participant