lundi 9 avril 2018

Is there a better way to test Node.js application with ElasticSearch?

If use Ruby on Rails framework, we can run the test in a easy way. It can create a test database, and we can make some fake data. After all the test finished, the test database will be cleaned.

Now want to do the same test with Node.js, Express framework and ElasticSearch. If create index data in the real ES server, maybe not the good way(Think ES as development environment used). Is there a better way to do it as RoR above?

I have researched from internet, but didn't find good example.

Aucun commentaire:

Enregistrer un commentaire