By Rupert
Posts tagged testing
Test Driven Development using Test.AnotherWay and mxUnit
Mar 20th
Time and time again, I have debugging bugs and redeveloping code which some I wrote but mostly done by others as well. Experience is still my best teacher in web development and I believe it would be a heavier burden later on if we continuously pursue rapid development without any testing at all.
You may have heard of writing test cases before diving into code which is well known as Test Driven Development. This methodology has been widely adapted in programming (Java thru JUnit, etc). Following Kent Beck’s Test Driven Development (TDD) we will follow this simple method:
- Write the test first
- Watch the test fail
- Write the component
- Watch the test pass
Comments