Message-ID: <555248566.2947.1427614232616.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2946_2009138342.1427614232616" ------=_Part_2946_2009138342.1427614232616 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Here is an experiment for you.=20
Calculate N/TP. This is the number of tests you could have run per seconds if all your tests had obeyed the Ashcroft Commandments. You will probably find that N/TP is= somewhere around 100 test methods per second. Or 10 milliseconds per test = method if you will. (TODO: verify these numbers on a couple of OSS projects= )=20
Calculate TP/TA. This is your Testing Pain Index (TPI). It should be as = close as possible to 1. Anything over 10 is extremely painful. The Test Exe= cution Frequency (TEF) is inversely proportional to the TPI. Examples to co= me hopefully - in the meanwhile take it with a grain of salt.=20
Does this sound intriguing to you? If it does, go ahead and enable Ashcr= oft and follow his advice to make your tests fast. -And your business logic= decoupled from infrastructure!