Skip to content

Commit 6917202

Browse files
glennjiHiDtasxatzial
committed
Apply suggestions from code review
Co-authored-by: Jeremy Walker <[email protected]> Co-authored-by: Anastasios Chatzialexiou <[email protected]>
1 parent 356b606 commit 6917202

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

using/solving-exercises/tdd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ Test-Driven Development (sometimes called Test-First Development or Test-Driven
44

55
## On Exercism, the tests _are_ the requirements!
66

7-
Each exercise you work on will have some instructions describing in general terms what you need to do.
7+
All Practice Exercises you work on (those ones that don't teach you a new concept) will have some instructions describing in general terms what you need to do.
88
By design, these instructions do not account for programming-language-specific implementation details because they are shared by all of Exercism’s 70+ language tracks.
99
Some language tracks will append more specific details for you, but not all of them do.
1010

11-
When you start working on an exercise, give the instructions a careful read.
11+
When you start working on a Practice Exercise, give the instructions a careful read.
1212
They will give you a broad overview of how you go about implementing a solution.
1313
But you will have to read the _tests_ to understand the full and exact requirements:
1414

@@ -17,12 +17,12 @@ But you will have to read the _tests_ to understand the full and exact requireme
1717
- How are you expected to handle exceptions? And so on.
1818

1919
You have solved an exercise when all the provided tests run and pass.
20-
In other words, your solution is not just an interpretation the instructions that "looks right", your solution is a program that _satisfies the given tests_.
20+
In other words, your solution is not just an interpretation of the instructions that "looks right", your solution is a program that _satisfies the given tests_.
2121
**The tests represent the complete requirements for the exercise.**
2222

2323
## Rationale for Test-Driven Development
2424

25-
While it may seem like putting the cart before the horse, there are several good reasons why you might want to write unit tests before writing the implementation code:
25+
While it may seem like "putting the cart before the horse", there are several good reasons why you might want to write unit tests before writing the implementation code:
2626

2727
1. Design.
2828
It forces you to think first about the design of the **interface** to the code, instead of jumping straight to the implementation.

0 commit comments

Comments
 (0)