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

Acceptance testing #35

Closed
skipor opened this issue Feb 9, 2017 · 1 comment
Closed

Acceptance testing #35

skipor opened this issue Feb 9, 2017 · 1 comment

Comments

@skipor
Copy link
Contributor

skipor commented Feb 9, 2017

Need to automate compile and run of Pandora binary and check its behaviour. It would be great to check it before every PR in CI.
Propose:
Create acceptance_tests directory and create onsi/gomega/gexec driven tests for

  • CLI behaviour
  • Main plugins behaviour

I imagine tests like

  • Before suite: compile binary via onsi/gomega/gexec
  • Some test
    • launch httptest.Server and run binary against testdata/http.yaml config
    • Check pandora log output (for data races end errors, for example) and return code.
  • Other tests
@skipor
Copy link
Contributor Author

skipor commented Jan 24, 2018

Well, there are some Acceptance tests already. I think that it is enough at that moment because they are costs too much.

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

No branches or pull requests

1 participant