I write tests out as flat requirements text.. No code, just documentation. Quick and dirty.
"When the user puts in a bad password, it returns an error."
Then convert this to real tests, and tada, I have red tests.
The code almost writes itself.
I write tests out as flat requirements text.. No code, just documentation. Quick and dirty.
"When the user puts in a bad password, it returns an error."
Then convert this to real tests, and tada, I have red tests.
The code almost writes itself.