I am new to DbFit and Fitnesse using Version 2.0.0-RC5. I have followed the setup instructions exactly as followed on the github tutorial. I have tried many different ways to get it working but end up getting errors.

The tutorial: http://dbfit.github.io/dbfit/docs/getting-started.html

Heres what HelloWorldTest looks like:

  !path lib/*.jar

  !|dbfit.MySqlTest|

  !|Connect|localhost|root|root|dbfit|

  !|Query| select 'test' as x|
  |x|
  |test|

When I run the test I am getting:

  Could not find fixture: dbfit.MySqlTest
  Could not find fixture: Connect
  Could not find fixture: Query

I have looked far and wide for answers with no luck. Any help would be much appreciated. Thanks!

有帮助吗?

解决方案

As discussed on this thread in the DbFit forum, your issue can be solved by launching Fitnesse from the unzipped folder:

cd <your_dbfit_folder>

./startFitnesse.sh
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top