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 tests don't stand on their own. #3

Open
omadawn opened this issue Nov 10, 2017 · 0 comments
Open

Integration tests don't stand on their own. #3

omadawn opened this issue Nov 10, 2017 · 0 comments

Comments

@omadawn
Copy link
Contributor

omadawn commented Nov 10, 2017

--- FAIL: TestIntegrationHappyPath (0.11s)
ssh_exporter_test.go:154: ./ssh_exporter binary not available, try to run go build first: stat ./ssh_exporter: no such file or directory

If the test suite is going to require the binary it should compile it first.

Having it as separate steps makes it harder to automate.

Not sure if integration tests should even run by default when you just run go test.

@omadawn omadawn changed the title Unit tests don't stand on their own. Integration tests don't stand on their own. Nov 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant