4 ms·
The more tests you have, the easier it is to write new tests. It works like this: "Let's see, I need my setup to be X. Well, this other test has a setup X' t
by AnimalMuppet 9y ago
The more tests you have, the easier it is to write new tests. It works like this:
"Let's see, I need my setup to be X. Well, this other test has a setup X' that is almost the same; I'll just copy that and tweak it. Then I need to open a connection to server Y; this other test does that. Copy again (or make it a subroutine)..."
After all of that, I only have to write maybe 20% of the test. That makes it a lot faster...