logoalt Hacker News

christophilusyesterday at 9:48 PM1 replyview on HN

That’s why you run each test in a transaction with proper isolation level, and don’t commit the transaction— roll it back when the test ends. No test ever interferes with another that way.


Replies

dnauticsyesterday at 9:57 PM

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.

show 1 reply