Closed jakelandis closed 4 years ago
This is what a unit/integration testing pair could look like, both using docker.
To run the unit tests
ci/unit/docker-test.sh
To run the integration tests
ci/integration/docker-test.sh
(note the above example uses a manual integration testing method, but can be evolved to a pure automated test without changing the general structure).
I really love the ability to run the integration tests reliably locally. If they fail, they will also fail in Travis, and they need to be fixed.
You're sure not to be missing any special quirk (e.g. "don't run ElasticSearch when you run the output-es tests").
closing this PR as stale
Alternative to https://github.com/logstash-plugins/logstash-filter-grok/pull/139 for discussion.
Run unit tests from within docker containers via Docker compose.
Similar to https://github.com/logstash-plugins/logstash-filter-grok/pull/139:
Dis-similar to https://github.com/logstash-plugins/logstash-filter-grok/pull/139