---
title: Discover the quality of your design as revealed by tests
disqus: pierodibello
---
###### tags: `clean code` `kentbeck` `testing` `ideas`
[Kent Beck said](https://twitter.com/KentBeck/status/1253316253428543490) on Twitter:

Here's an exercise to **discover the quality of your design** as revealed by tests:
1. Print a test
2. Explain the scenario being tested aloud
3. While you explain, highlight the part of the test you mention
4. Look at the density of highlights
I've seen tests that were 5% information and 95% test mechanism & extraneous setup. The design of the code being tested in such a case is likely to have many opportunities for improvement.