{ by david linsin }

March 20, 2006

work out with fit


This example is really simple, but it shows how easy it is to use fit (Framework for Integrated Test) to test your application with only a couple of lines of code.

I leveraged one of my previous examples, where I used the drools rules engine to implement a couple of business rules with a simple "Shopping Cart Application". If you download the code, you can see that I had a hard time testing the application, using JUnit test cases. With fit and the simple fixture I wrote, it is very easy and more convenient to test the application with a bunch of different values.

0 comments:


com_channels

  • mail(dlinsin@gmail.com)
  • jabber(dlinsin@gmail.com)
  • skype(dlinsin)

recent_postings

loading...