On 7 March 2014 15:13, Chris McMahon cmcmahon@wikimedia.org wrote:
This process is something that I think would be of great interest to a variety of teams:
- When to throw away old tests
- When to create new tests (TDD style, before writing the code that
satisfies the test?)
- When to refactor existing tests
- At what point do you make these decisions?
I'd like to encourage you to discuss your approaches along these lines, because I think it would be of great interest across all the WMF dev teams.
This essay has been going around. There's a lot to it IMO.
http://www.rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste.pdf
tl;dr "unit test" is another word for "assert". Now, *acceptance* tests ...
- d.