[Ironruby-core] Has someone tried to use Shoulda with IronRuby?

Will Green will at hotgazpacho.org
Mon Apr 5 12:00:52 EDT 2010


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.friedman at 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 <will at 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 <lists at 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 at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/ironruby-core
>>>
>>
>>
>> _______________________________________________
>> Ironruby-core mailing list
>> Ironruby-core at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/ironruby-core
>>
>>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100405/d7b5854d/attachment.html>


More information about the Ironruby-core mailing list