AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
The Common Sources of Flaky Tests
An order dependent flaky test is a test case that tends to pass and fail in a flaky fashion when you run it in a different order than which it was originally intended to be run. Another kind of flaky test case is called a non-order dependent flakytest. Test suites tend to become more flaky in nature if the CPU changes significantly, or memory becomes much less available. That's because of the fact that you often might have certain resource constraints in mind as an assumption when you're writing the test case.