Who will test your tests?
Some of us must have been on that one project, where your test suite was causing more problem than solving it. You change one thing, and hundred tests will fail. Your continuous integration build will fail randomly, but will pass if you just re-trigger it. This eventually leads to people losing all the trust on the test suite. They stop adding tests, because it’s more painful than writing production code. They start ignoring failing tests, because they fail randomly and nobody knows why. Everybody knows tests are now more trouble than help. In this talk, we will talk about some behaviours and reasons which lead to this "flaky test suite" situation. What are some development practices, which can avoid such situation. And finally we will also talk about how to fix this situation if you are already in it.
Outline/Structure of the Talk
The flow of the session will be as follows :
2) Why do we write tests?
3) What are non-deterministic tests?
4) Problems of non-deterministic tests
5) Detailed causes of non-determinism and solutions for solving them
6) Strategy to resolve the existing build flakiness on your team
7) Future scope (Poka yoke - Mistake proofing ) and conclusion
The entire session will be splurged with code examples and personal bad / good experiences related to test non-determinism.
1. Understand why it is important to write good test code, similar to writing good production code.
2. Understand and appreciate the problems which can lead to flakiness of tests and how to stay away from them.
3. Understand how to strategise and resolve the issue of flaky tests on your team if you are already plagued with the disease of "flakiness".
Developers, Quality Analysts, Managers
schedule Submitted 4 years ago
People who liked this proposal, also liked:
Isha Tripathi - Are we discriminating against men?Isha TripathiMultitaskerThoughtWorks
schedule 4 years agoSold Out!
The IT industry is evolving, and has been evolving for a while now. The one thing that has, however, not changed as drastically as one would expect within the industry are the diversity ratios. The software delivery stratosphere is still largely dominated by men. More and more organisations are now waking up to the reality of this situation, and are taking measures to fix diversity imbalance in their respective workspaces. One recurring argument against such measures to fix gender inclusivity is that these steps are discriminative against men. This, in my opinion, stems mostly from a lack of awareness about the challenges that women in the IT industry face on a daily basis. As part of this particular talk, I would like to bring to light not only some of these challenges, but also various myths about the reasons why there are fewer women in the industry and why this is a problem that we need to fix starting now.