This doesn't work for me: require 'rubygems' require 'shoulda'
class MyTest < Test::Unit::TestCase context "something" do should "be true" do assert true end end end -------------------------------------------------------- Shay Friedman | Microsoft Visual C#/IronRuby MVP | Author of IronRuby Unleashed | Sela Technology Center Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay On Mon, Apr 5, 2010 at 6:00 PM, Will Green <w...@hotgazpacho.org> wrote: > This what I did: > cd %HOME%\dev > ir -S gem install rake shoulda rails sqlite3-ironruby mocha --no-rdoc > --no-ri > git clone http://github.com/thoughtbot/shoulda.git > cd shoulda > ir -S rake test > > It appears to pass. Results are here: http://gist.github.com/356509 > > -- > Will Green > http://hotgazpacho.org/ > > > On Mon, Apr 5, 2010 at 10:32 AM, Shay Friedman <shay.fried...@gmail.com>wrote: > >> When I run it, it doesn't find any test cases (even though I have one)... >> So nothing breaks because nothing is run. >> >> Thanks, >> Shay. >> -------------------------------------------------------- >> Shay Friedman | Microsoft Visual C#/IronRuby MVP | Author of IronRuby >> Unleashed | Sela Technology Center >> Blog: http://IronShay.com | Twitter: http://twitter.com/ironshay >> >> >> On Mon, Apr 5, 2010 at 4:26 PM, Will Green <w...@hotgazpacho.org> wrote: >> >>> Shoulda has a test suite. Have you run that to see what breaks? >>> -- >>> Will Green >>> http://hotgazpacho.org/ >>> >>> >>> >>> On Mon, Apr 5, 2010 at 9:30 AM, Shay Friedman <li...@ruby-forum.com>wrote: >>> >>>> I get the same problem with test-spec. Both frameworks enhance >>>> Test::Unit and they both don't work... >>>> >>>> Thanks, >>>> Shay. >>>> >>>> Shay Friedman wrote: >>>> > Hi there, >>>> > >>>> > I'm trying to use Shoulda to test code (not in a Rails project) and I >>>> > can't >>>> > get it to work. It seems like it doesn't convert the should statements >>>> > to >>>> > test methods at all. >>>> > Has anyone run into this before? >>>> > >>>> > Thanks, >>>> > Shay. >>>> >>>> -- >>>> Posted via http://www.ruby-forum.com/. >>>> _______________________________________________ >>>> Ironruby-core mailing list >>>> Ironruby-core@rubyforge.org >>>> http://rubyforge.org/mailman/listinfo/ironruby-core >>>> >>> >>> >>> _______________________________________________ >>> Ironruby-core mailing list >>> Ironruby-core@rubyforge.org >>> http://rubyforge.org/mailman/listinfo/ironruby-core >>> >>> >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core@rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >
_______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core