Kent Beck has invented many things, including the Test Desiderata, a thinking tool for evaluating tests. When he saw one of my videos about approval testing, he sensed an opportunity to use this thinking tool. Kent contacted me with a challenge:
How do Approval tests measure up against Kent Beck’s Test Desiderata?
This video is the first part of my answer.
▬ Links ▬▬▬▬▬▬▬▬▬▬
Kent Beck's Test Desiderata ➡️ kentbeck.github.io/TestDesiderata/
Read the article "Anatomy of a Good Test" by Torsten Mandry and Jacek Bilski ➡️
www.innoq.com/en/blog/2020/09/anatomy-of-a-good-te…
The sample code used in the demo ➡️ github.com/emilybache/automated-testing-samples
If you would like to support my work on Github and this channel, become a Patreon ➡️ www.patreon.com/EmilyBache
Add me on social media
LinkedIn ➡️ www.linkedin.com/in/emilybache
Mastodon ➡️ sw-development-is.social/@emilybache
▬ Video chapters ▬▬▬▬▬▬▬▬▬▬
00:00 - Introduction
01:04 - Kent Beck's Test Desiderata
02:28 - Anatomy of a Good Test
02:50 - Demo: Test Desiderata for a Unit Test
07:30 - Comparing Readability
09:17 - Readability when the tests fail
09:14 - Why Unit Tests are not very Predictive
13:43 - Conclusions
コメント