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

refactor: rename test function names #1107

Merged
merged 1 commit into from Dec 11, 2023
Merged

Conversation

Integralist
Copy link
Collaborator

@Integralist Integralist commented Dec 11, 2023

A while ago I started naming functions TestCreate instead of the more explicit Test<SomeResource>Create which I did because the package name already provided the context for what the test was creating.

But what ended up happening was that the test output when there was an error didn't help in identifying which of many TestCreate functions had failed. As this change wasn't even consistent across the whole code base, I've decided to go back to the original naming.

@Integralist Integralist added the clean-up Code clean-up or refactor label Dec 11, 2023
@Integralist Integralist merged commit 76671b2 into main Dec 11, 2023
6 checks passed
@Integralist Integralist deleted the integralist/test-names branch December 11, 2023 18:03
Integralist added a commit that referenced this pull request Feb 5, 2024
Integralist added a commit that referenced this pull request Feb 6, 2024
* refactor: rename test function names (#1107)

* fix: address go vet issues

* fix: remove deprecated field

* fix: reference changed field names

* refactor(all): bump to go-fastly v9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean-up Code clean-up or refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant