Question

If your system is basically crunching numbers i.e. given a set of large inputs, run a process on them, and then assert the outputs, which is the better framework for this?

By 'large inputs', I mean we need to enter data for several different, related entities.

Also, there are several outputs i.e. we don't just get one number at the end.

Was it helpful?

Solution

If you find yourself talking through different examples with people, JBehave is probably pretty good.

If you find yourself making lists of numbers and comparing inputs with outputs, Fitnesse is probably better.

However, if you find yourself talking to other devs and nobody else, use plain old JUnit. The less abstraction you have, the quicker it will be to run and the easier it will be to maintain.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top