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

End to end tests #9

Merged
merged 11 commits into from
Sep 25, 2024
Merged

End to end tests #9

merged 11 commits into from
Sep 25, 2024

Conversation

johncollinson2001
Copy link
Contributor

@johncollinson2001 johncollinson2001 commented Sep 17, 2024

This PR implements end to end tests using the terratest go library and Azure sdk for go, and runs the tests in the CI pipeline.

For more details on terratest see: https://terratest.gruntwork.io/.
For more details on Azure SDK for go see: https://github.com/Azure/azure-sdk-for-go

NOTE the PR introduces a dependency on a real Azure environment. Details on how to run and debug the tests locally, and configure the Azure environment variables have been added to README.md.

For CI pipelines, secrets have been configured in the repository settings which are set as environment variables in the workflow. This is currently configured as @johncollinson2001's personal Azure tenant, but should be updated at some point when a more suitable dev/test tenant can be identified.

@johncollinson2001 johncollinson2001 marked this pull request as ready for review September 20, 2024 20:51
@johncollinson2001 johncollinson2001 requested a review from a team September 20, 2024 20:51
@nicksp1 nicksp1 self-assigned this Sep 25, 2024
Copy link

@nicksp1 nicksp1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Went through with John. Go is interesting but does what it needs to

@johncollinson2001 johncollinson2001 merged commit 80800b9 into main Sep 25, 2024
2 checks passed
@johncollinson2001 johncollinson2001 deleted the johnc/end-to-end-tests branch October 4, 2024 19:50
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.

2 participants