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

testing: warning: no tests to run #1340

Open
2 tasks
wesco-scottballard opened this issue Sep 14, 2023 · 1 comment
Open
2 tasks

testing: warning: no tests to run #1340

wesco-scottballard opened this issue Sep 14, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@wesco-scottballard
Copy link

Describe the bug
i cloned the gruntwork-io repo locally to learn Go. Set up my azure account. Verified the TF code deploys to azure successfully. When I run the associated go test - see below - it states no test run. I havent spent a ton of time troubleshooting this but from web searches sounds like something in the go code needs to be updated or there is a syntax error? Is this code being maintained?

--when I run the following command:
go test -v -run TestTerraformAzureDiskExample

--get the following message/error
testing: warning: no tests to run
PASS
ok github.com/gruntwork-io/terratest/test 0.029s

To Reproduce
Steps to reproduce the behavior, code snippets and examples which can be used to reproduce the issue.

// paste code snippets here

Expected behavior
A clear and concise description of what you expected to happen.

Nice to have

  • Terminal output
  • Screenshots

Versions

  • Terratest version:
  • Environment details (Ubuntu 20.04, Windows 10, etc.):

Additional context
Add any other context about the problem here.

@wesco-scottballard wesco-scottballard added the bug Something isn't working label Sep 14, 2023
@denis256
Copy link
Member

Hello,
should be specified azure tag to run azure tests

// NOTE: We use build tags to differentiate azure testing because we currently do not have azure access setup for
// CircleCI.

https://github.com/gruntwork-io/terratest/blob/master/test/azure/terraform_azure_disk_example_test.go#L20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants