The Agile Engineering Rules of Test Code
Posted
by Malcolm Anderson
on Geeks with Blogs
See other posts from Geeks with Blogs
or by Malcolm Anderson
Published on Wed, 13 Jun 2012 08:42:43 GMT
Indexed on
2012/06/15
15:17 UTC
Read the original article
Hit count: 548
Lots of test code gets written, a lot of it is waste, some of it is well engineered waste.
Companies hire Agile Engineering Coaches because agile engineering is easy to do wrong.
Very easy.
So here's a quick tool you can use for self coaching.
It's what I call, "The Agile Engineering Rules of Test Code" and it's going to act as a sort of table of contents for some future posts.
The Agile Engineering Rules of Test Code
Malcolm Anderson
Test code is not throw away code
Test code is production code
8 questions to determine the quality of your test code
- Does the test code have appropriate comments?
- Is the test code executed as part of the build?
- Every Time?
- Is the test code getting refactored?
- Does everyone use the same test code?
- Can the test code be described as “Well Maintained”?
- Can a bright six year old tell you why any particular test failed?
- Are the tests independent and infinitely repeatable?
© Geeks with Blogs or respective owner