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:
- run a remote ssh command towards host ABC and copy a file with win cp command
- run a DB2 load command to import the data in the database from the file
- run a stored procedure
- verify results
May anyone advice regarding step 1) ?
There's been a few implementations of a
CommandLineFixture
- google commandlinefixture and you'll find them.