- I am the class being tested. Thou shalt not test any other class but me.
- You shall not make for yourself a mock of an API that you don't own.
- You shall not call a system or integration test a unit test.
- Your unit test suite shall not take all week to run.
- [father and mother]
- Thou shall not kill the runtime environment.
- [adultery]
- [steal]
- You shall not bear false witness against your neighboring tests.
- You shall not covet your system's files, you shall not covet your system's threads, or his sockets, or his graphics environment, or his environment variables, or anything that is part of your system.
EDIT: Credit: Aslak Hellesøy & Obie Fernandez 2004