# Error Running Fitnesse Tests on the Fitnesse Server

**URL:** <https://www.ruby-forum.com/t/error-running-fitnesse-tests-on-the-fitnesse-server/180383>\
**Category:** Ruby\
**Created:** [December 18, 2009, 11:12pm UTC](https://www.ruby-forum.com/t/error-running-fitnesse-tests-on-the-fitnesse-server/180383 "2009-12-18T23:12:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arti\_singh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ba9def/32.png) [@arti\_singh](https://www.ruby-forum.com/u/arti_singh)\
**Post date:** [December 18, 2009, 11:12pm UTC](https://www.ruby-forum.com/t/error-running-fitnesse-tests-on-the-fitnesse-server/180383/1 "2009-12-18T23:12:49Z")

</div>

I created a folder under C:/Data/Ruby called Fitnesse1 and placed my  
Login.rb file in that folder

in Login.rb,I placed the following information

module Fitnesse1

class Login \< Fit::ActionFixture

```
  p1 = LoginTest.new()
  p1.orion_login()
  p1.loginMessage()
  p1.numberOfLoginAttempts()

```

end

end

I placed this Login test in C:/Data/Ruby/Fitnesse1/Login.rb  
I kept the file name same as the class name and kept the foldername same  
as the module name

I created a definition in the Fitnesse Ruby Page with the information  
the  
Fitnisse1 Wikipage

!define COMMAND\_PATTERN {ruby -I %p  
C:/Ruby1.9/lib/ruby/gems/1.9.1/gems/fit-1.2/bin/FitServer.rb -v}  
!path C:/Data/Ruby  
!|Fitnesse1.Login|  
|Login|

In the Fitnisse application, I added a test page and set the properties  
to test,just as they suggested in  
[http://xprogramming.com/xpmag/rubyfitnesse/](http://xprogramming.com/xpmag/rubyfitnesse/)  
I followed it to the letter, but instead of getting the tests to run, I  
get the error

Fixture Fitnesse1.Login not found.  
C:/Ruby1.9/lib/ruby/gems/1.9.1/gems/fit-1.2/lib/fit/fixture\_loader.rb:15:in  
`find_fixture_class' C:/Ruby1.9/lib/ruby/gems/1.9.1/gems/fit-1.2/lib/fit/fixture.rb:82:in `find\_class’  
C:/Ruby1.9/lib/ruby/gems/1.9.1/gems/fit-1.2/lib/fit/fixture.rb:138:in  
`get_linked_fixture_with_args' C:/Ruby1.9/lib/ruby/gems/1.9.1/gems/fit-1.2/lib/fit/fixture.rb:92:in `do\_tables’  
C:Ruby1.9/lib/ruby/gems/1.9.1/gems/fit-1.2/lib/fit/fit\_server.rb:93:in  
`process' C:/Ruby1.9/lib/ruby/gems/1.9.1/gems/fit-1.2/lib/fit/fit_server.rb:24:in `run’  
C:/Ruby/lib/ruby/gems/1.9.1/gems/fit-1.2/bin/FitServer.rb:5:in `’

I have no clue on how to fix this,I spent half of the day trying to get  
this up and runnning to no avail, I search every where and I get the  
same thing
