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

Integration Test for Go CF Driver #72

Merged
merged 5 commits into from
Dec 19, 2024
Merged

Integration Test for Go CF Driver #72

merged 5 commits into from
Dec 19, 2024

Conversation

zjrgov
Copy link
Contributor

@zjrgov zjrgov commented Dec 18, 2024

🎫 Addresses issue: https://github.com/GSA-TTS/devtools-program/issues/198

🛠 Summary of changes

Adds an integration test that verifies the cf-driver-go is able to connect to cloud.gov and get an app list.

📜 Testing Plan

How would a peer test this work?

  • You would need to first get a username & password for some space on cloud.gov that has at least one app.
  • Then you add those credentials to ./runner/cf-driver-go/cg/testdata/.cg_creds in the style of the .sample there.
  • Run make integration, which should give you an error and tell you what the []Apps JSON looks like.
  • Copy that JSON over the last line for your testdata file and run make integration again, this time it should succeed.

@zjrgov zjrgov requested a review from a team December 18, 2024 22:59
@zjrgov zjrgov self-assigned this Dec 18, 2024
@zjrgov zjrgov changed the base branch from main to go/main December 18, 2024 22:59
@zjrgov
Copy link
Contributor Author

zjrgov commented Dec 18, 2024

FYI the workflow didn't trigger on this when I opened it because I accidentally used main as the branch. I'm going to delete the empty commit I made to test and then force push.

@zjrgov
Copy link
Contributor Author

zjrgov commented Dec 18, 2024

It occurs to me I should add those test steps to the README… will do that tomorrow morning.

@zjrgov zjrgov requested a review from rahearn December 19, 2024 15:26
@zjrgov zjrgov merged commit 2604588 into go/main Dec 19, 2024
1 check passed
@zjrgov zjrgov deleted the go/cg-integration branch December 19, 2024 20:06
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