allegro / embedded-elasticsearch

Tool that ease up creation of integration tests with Elasticsearch
Apache License 2.0
269 stars 81 forks source link

Adds Junit Rule and method isStarted #95

Open netodevel opened 4 years ago

netodevel commented 4 years ago

Motivation:

My integration tests were getting very polluted and with duplicate code (start and stop) I also find it elegant not to have to worry about managing the start and stop of the service. In some cases I needed to validate if the service was "on" so I also added an isStarted() method.