From: Arti Singh Date: 2009-12-19T06:59:28+09:00 Subject: Re: uninitialized constant Test error when running Fitnisse ruby Thanks, that was close, I had included Test::Unit::TestCase without requiring test/unit in my code.Thanks . Phillip Gawlowski wrote: > On 18.12.2009 19:11, Arti Singh wrote: >> has anyone seen this error before? I have no idea on how to fix I have >> all but exhausted myself looking for the solutions to this > >> uninitialized constant Test > > Your suit of tests is lacking a require, somewhere. > > The details depend on what you use for testing, but one option is > > require 'test/unit' # Ruby's included test suit > > That requires should be in every file doing tests, ideally, so you can > run them independently. -- Posted via http://www.ruby-forum.com/.