How should one import large amounts of data for FIT/Fitnesse tests?

Posted by Lachlan on Stack Overflow See other posts from Stack Overflow or by Lachlan
Published on 2010-04-12T23:07:53Z Indexed on 2010/04/12 23:13 UTC
Read the original article Hit count: 583

Filed under:
|
|
|

We have a scheduling engine with large amounts of test data to test all the scenarios, so test automation is critical. We're currently hoping to use FIT/Fitnesse. However a single test has quite a large table of test data, so it doesn't fit very well into the mould of "two or three inputs, one or more outputs" that Fitnesse uses in its examples. Hopefully the other functionality of Fitnesse makes it worth using it.

I hear that there is a way to initialize an application for a FIT test with an Excel spreadsheet - not the Spreadsheet to Fitness function, mind you - but I haven't been able to find it so far. Once the whole spreadsheet is loaded into the application, and the application does its thing, we plan to compare either a number of output rows, or perhaps just the last row, to see if the test passes.

The application is currently pulling test data from a database for manual tests, but writing to a database, then initializing from it, is not preferred because of the performance impact.

The application is written in C#.

© Stack Overflow or respective owner

Related posts about fit

Related posts about fitnesse