Monday, February 9, 2009

Article published on JsUnit and JsMock

InfoQ has published an article of mine on Test Driven Development in JavaScript. Here's my favorite part ...
Hold on, wait a minute ... the test function has more than one assertion. Is this OK? There is a small group of people in the Agile community who think it's a sin to put more than one assertion per test. Test suites written for real applications making real money however are rarely written this way. Many of these people are astounded when they see how many assertions per test are found within the actual test suite for the JUnit framework itself.

You can read the rest of it here.

2 comments:

Anonymous said...

I'm very proud of you, Dennis

Anonymous said...

you r the best. you are.