3 ms·
Off topic but how do you guys Unit Test Elastic Search queries? Do you start a full node and dump test data in it? In case of SQL I can start an in memory sqll
by sschueller 9y ago
Off topic but how do you guys Unit Test Elastic Search queries? Do you start a full node and dump test data in it?
In case of SQL I can start an in memory sqllite and run my tests (Symfony PHP).
- gerbal 9y agoWe've had good results using docker-compose to run ES test suites. Run the app in one container and an ES instance in another. Test data can be loaded from fixtures or captured/snapshotted using `docker commit` to create specific test images.