4 ms·
yes, Now this test also has to check that your redis-based cache is populated correctly. And/or sends stuff down your RabbitMQ/Kafka pipeline.
by dnautics 9mo ago
yes, Now this test also has to check that your redis-based cache is populated correctly. And/or sends stuff down your RabbitMQ/Kafka pipeline.
- pmontra 9mo agoThat looks like an integration test. A possible way to handle that scenario is to drop all the databases after it ends and create them again, or truncate all the tables or whatever it makes sense for that possible set of different data stores. That could run on developer machines but maybe it runs only on a CI server and developers run only unit tests.
- dnautics 9mo agoso in elixir you can do this async alongside your unit tests.