Execute External commands Fitnesse/DBFit from within a Test page

890 views Asked by At

I would like to execute external commands in my test from Fitnesse/DBFit from within a Test page.

For example, as part of a Unit Test:

  1. run a remote ssh command towards host ABC and copy a file with win cp command
  2. run a DB2 load command to import the data in the database from the file
  3. run a stored procedure
  4. verify results

May anyone advice regarding step 1) ?

1

There are 1 answers

3
Mike Stockdale On BEST ANSWER

There's been a few implementations of a CommandLineFixture - google commandlinefixture and you'll find them.