-
Notifications
You must be signed in to change notification settings - Fork 913
chore: Refactor integration tests #2986
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
Conversation
|
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with |
64384d9 to
a3a1145
Compare
a3a1145 to
79637e0
Compare
79637e0 to
8f8da76
Compare
deiga
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Half-way through, looking good so far!
8f8da76 to
d6872d3
Compare
d6872d3 to
b273abd
Compare
b273abd to
337b854
Compare
deiga
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple tests commented out in this PR. They seem to cover functionality which isn't covered otherwise, are those just WIP refactoring or is there some other purpose?
450176c to
dad0a7a
Compare
dad0a7a to
a8b2ec7
Compare
|
@nickfloyd @deiga I think this PR is ready to be merged. All of the tests I'm able to run locally have been run and passed. |
794ec78 to
539f914
Compare
nickfloyd
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only found one super small thing! 👍
cfc7aa4 to
241055a
Compare
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
241055a to
581b507
Compare
Per code review feedback from @deiga (integrations#2514 (comment)), this updates the github_release_asset data source tests to use the new testing patterns implemented in integrations#2986 This was tested via: ``` $ TF_ACC=1 \ go test -v ./... -run ^TestAccGithubReleaseAssetDataSource ? github.com/integrations/terraform-provider-github/v6 [no test files] === RUN TestAccGithubReleaseAssetDataSource === RUN TestAccGithubReleaseAssetDataSource/queries_specified_asset_ID --- PASS: TestAccGithubReleaseAssetDataSource (5.91s) --- PASS: TestAccGithubReleaseAssetDataSource/queries_specified_asset_ID (5.91s) PASS ok github.com/integrations/terraform-provider-github/v6/github 6.788s ``` Signed-off-by: Mike Ball <mikedball@gmail.com>
Per code review feedback from @deiga (integrations#2514 (comment)), this updates the github_release_asset data source tests to use the new testing patterns implemented in integrations#2986 This was tested via: ``` $ TF_ACC=1 \ go test -v ./... -run ^TestAccGithubReleaseAssetDataSource ? github.com/integrations/terraform-provider-github/v6 [no test files] === RUN TestAccGithubReleaseAssetDataSource === RUN TestAccGithubReleaseAssetDataSource/queries_specified_asset_ID --- PASS: TestAccGithubReleaseAssetDataSource (5.91s) --- PASS: TestAccGithubReleaseAssetDataSource/queries_specified_asset_ID (5.91s) PASS ok github.com/integrations/terraform-provider-github/v6/github 6.788s ``` Signed-off-by: Mike Ball <mikedball@gmail.com>
Per code review feedback from @deiga (integrations#2514 (comment)), this updates the github_release_asset data source tests to use the new testing patterns implemented in integrations#2986 This was tested via: ``` $ TF_ACC=1 \ go test -v ./... -run ^TestAccGithubReleaseAssetDataSource ? github.com/integrations/terraform-provider-github/v6 [no test files] === RUN TestAccGithubReleaseAssetDataSource === RUN TestAccGithubReleaseAssetDataSource/queries_specified_asset_ID --- PASS: TestAccGithubReleaseAssetDataSource (5.91s) --- PASS: TestAccGithubReleaseAssetDataSource/queries_specified_asset_ID (5.91s) PASS ok github.com/integrations/terraform-provider-github/v6/github 6.788s ``` Signed-off-by: Mike Ball <mikedball@gmail.com>
Resolves #2983
Resolves #2984
Resolves #2985
Resolves #3006
Closes #2941
Before the change?
After the change?
Pull request checklist
Does this introduce a breaking change?
Please see our docs on breaking changes to help!