[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using "fakes" in unit tests


Current IT tests require manual startup and seeding of data-sources (Mongo,
ES, Geode etc.) from separate git project (see calcite-test-dataset
<https://github.com/vlsi/calcite-test-dataset> ). While useful they force
developer to bootstrap additional environment on his own and don't work by
default (unless properly initialized).

Would you consider using "fake" (in memory) data-sources for unit tests
- Fongo <https://github.com/fakemongo/fongo>  for Mongo
- TestNode
for ElasticSearch

I'm not proposing to stop using IT but rather having a better coverage for
unit tests (with fakes)

Interesting to hear your opinion.