문제

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