The point of FIT
FIT is Ward Cunningham's increasingly popular framework for writing acceptance tests. I'm a huge fan, but when I first encountered FIT it took me a while to figure out the point. I originally misunderstood FIT to be a framework for functional tests. It isn't. A lot of people make that mistake.
Watir drives tests through your browser. JWebunit plugs HTTP and HTML into Junit. Watir and JWebunit are functional testing frameworks. FIT just helps you realise tests that you've written as HTML tables using Java (or other) code. While many FIT tests also end up being functional, it is quite acceptable for them to cover only a small unit of code.
The point of FIT is to describe the behaviour of the application using tests in such a way that a non-programmer can easily understand. You write a functional specification that has been tightly bound to the code.

0 Comments:
Post a Comment
<< Home