0

i am writing tests using DbFit and FitNesse for some our reporting stored procedures. To make life easy, we have designed a generic way to store input data and expected data in 2 tables and comparing the output table with the expected table, for each and every case. i failed to do so, as DbFit is only expecting the actual value to be hardcoded in the page.

benilov
  • 1,234
  • 11
  • 11
Selvakumar Esra
  • 1,154
  • 2
  • 15
  • 30
  • What are you trying to do? a) Compare the data within two tables against each other for differences,or b) Check the data output from a stored proc always matches your expected output recorded in the fitnesse wiki? – Michelle Steele Aug 15 '12 at 22:10
  • 1
    option b - Check the data output from a stored proc always matches your expected output recorded in the fitnesse wiki – Selvakumar Esra Aug 16 '12 at 16:46
  • Could you please illustrate the type of test that you wish to write with an example? – benilov Feb 09 '13 at 12:28

1 Answers1

0

You're right, DbFit compares to the expected values on the wiki page, not the values in another table. To compare values in 2 tables will require writing a new fixture.

Mike Stockdale
  • 5,256
  • 3
  • 29
  • 33