Skip to content

Commit c566f2f

Browse files
committed
Make desiderata table items bold
1 parent 27b9c58 commit c566f2f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

chapter_27_hot_lava.asciidoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ outline several desiderata (desirable characteristics) for tests:
3838

3939
.Test Desiderata
4040
|===
41-
| Isolated--tests should return the same results regardless of the order in which they are run.
42-
| Composable--I should be able to test different dimensions of variability separately and combine the results.
43-
| Deterministic--if nothing changes, the test result shouldn’t change.
44-
| Fast--tests should run quickly.
45-
| Writable--tests should be cheap to write relative to the cost of the code being tested.
46-
| Readable--tests should be comprehensible for reader, invoking the motivation for writing this particular test.
47-
| Behavioural--tests should be sensitive to changes in the behaviour of the code under test. If the behaviour changes, the test result should change.
48-
| Structure-agnostic--tests should not change their result if the structure of the code changes.
49-
| Automated--tests should run without human intervention.
50-
| Specific--if a test fails, the cause of the failure should be obvious.
51-
| Predictive--if the tests all pass, then the code under test should be suitable for production.
52-
| Inspiring--passing the tests should inspire confidence
41+
| *Isolated*: tests should return the same results regardless of the order in which they are run.
42+
| *Composable*: I should be able to test different dimensions of variability separately and combine the results.
43+
| *Deterministic*: if nothing changes, the test result shouldn’t change.
44+
| *Fast*: tests should run quickly.
45+
| *Writable*: tests should be cheap to write relative to the cost of the code being tested.
46+
| *Readable*: tests should be comprehensible for reader, invoking the motivation for writing this particular test.
47+
| *Behavioural*: tests should be sensitive to changes in the behaviour of the code under test. If the behaviour changes, the test result should change.
48+
| *Structure-agnostic*: tests should not change their result if the structure of the code changes.
49+
| *Automated*: tests should run without human intervention.
50+
| *Specific*: if a test fails, the cause of the failure should be obvious.
51+
| *Predictive*: if the tests all pass, then the code under test should be suitable for production.
52+
| *Inspiring*: passing the tests should inspire confidence
5353
|===
5454

5555
We've talked about almost all of these desiderata in the book:

0 commit comments

Comments
 (0)