Just listened to jimmy on hanselminutes (yeah I know it was a week or 2 ago, I''m catching up on podcasts) talking about IronRuby. Congrats on a job well done. Hopefully that will get some more people interested in IR :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100205/277e0ffa/attachment.html>
autospec (part of ZenTest gem) does not work for me with Ironruby. Is this a
known issue? I am using a relatively simple example that works fine on ubuntu
with traditional ruby. I''m using 1.0RC1 (version number on the
assembly is out of date).
D:\workspace\ruby\rspec_tutorial>dir lib\* spec\*
Volume in drive D is FILES
Volume Serial Number is AC2C-C255
Directory of D:\workspace\ruby\rspec_tutorial\lib
02/03/2010 01:13 PM <DIR> .
02/03/2010 01:13 PM <DIR> ..
02/03/2010 11:22 AM 109 user.rb
1 File(s) 109 bytes
Directory of D:\workspace\ruby\rspec_tutorial\spec
02/03/2010 01:14 PM <DIR> .
02/03/2010 01:14 PM <DIR> ..
02/03/2010 01:22 PM 354 user_spec.rb
1 File(s) 354 bytes
2 Dir(s) 125,102,854,144 bytes free
D:\workspace\ruby\rspec_tutorial>ir -v
IronRuby 0.9.3.0 on .NET 2.0.0.0
D:\workspace\ruby\rspec_tutorial>autospec
D:\workspace\ruby\rspec_tutorial>spec --autospec spec
..
Finished in 0.2330133 seconds
2 examples, 0 failures
D:\workspace\ruby\rspec_tutorial>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20100204/d8528570/attachment.html>
you''ll have to do this for the ironruby version. http://flanders.co.nz/2009/10/26/creating-launcher-scripts-for-ironruby/ when RC2 is there it becomes ir -S autospec --- Met vriendelijke groeten - Best regards - Salutations Ivan Porto Carrero Blog: http://flanders.co.nz Twitter: http://twitter.com/casualjim Author of IronRuby in Action (http://manning.com/carrero) On Thu, Feb 4, 2010 at 9:10 PM, Tim Hoolihan <Tim at hoolihan.net> wrote:> autospec (part of ZenTest gem) does not work for me with Ironruby. Is > this a known issue? I am using a relatively simple example that works fine > on ubuntu with traditional ruby. I''m using 1.0RC1 (version number on the > assembly is out of date). > > D:\workspace\ruby\rspec_tutorial>dir lib\* spec\* > Volume in drive D is FILES > Volume Serial Number is AC2C-C255 > > Directory of D:\workspace\ruby\rspec_tutorial\lib > > 02/03/2010 01:13 PM <DIR> . > 02/03/2010 01:13 PM <DIR> .. > 02/03/2010 11:22 AM 109 user.rb > 1 File(s) 109 bytes > > Directory of D:\workspace\ruby\rspec_tutorial\spec > > 02/03/2010 01:14 PM <DIR> . > 02/03/2010 01:14 PM <DIR> .. > 02/03/2010 01:22 PM 354 user_spec.rb > 1 File(s) 354 bytes > 2 Dir(s) 125,102,854,144 bytes free > > D:\workspace\ruby\rspec_tutorial>ir -v > IronRuby 0.9.3.0 on .NET 2.0.0.0 > > D:\workspace\ruby\rspec_tutorial>autospec > > D:\workspace\ruby\rspec_tutorial>spec --autospec spec > .. > > Finished in 0.2330133 seconds > > 2 examples, 0 failures > > D:\workspace\ruby\rspec_tutorial> > > _______________________________________________ > 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/20100204/65f8c411/attachment-0001.html>
Thanks for the response.
I have C:\ironruby\lib\ironruby\gems\1.8\bin\ in my path and can run spec
commands fine.
However, I followed the post anyway, and created iautospec, iautospec.bat,
ispec, and ispec.bat in C:\ironruby\bin
ispec runs fine as does spec, but autospec just returns to the command line.
D:\workspace\ruby\rspec_tutorial>ispec spec --format specdoc
User
- should be an any assigned roles
- should NOT be in any unassigned roles
Finished in 0.2180125 seconds
2 examples, 0 failures
D:\workspace\ruby\rspec_tutorial>iautospec
D:\workspace\ruby\rspec_tutorial>iautospec spec
D:\workspace\ruby\rspec_tutorial>
From: Ivan Porto Carrero
Sent: Thursday, February 04, 2010 3:38 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] autospec
you''ll have to do this for the ironruby version.
http://flanders.co.nz/2009/10/26/creating-launcher-scripts-for-ironruby/
when RC2 is there it becomes
ir -S autospec
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Thu, Feb 4, 2010 at 9:10 PM, Tim Hoolihan <Tim at hoolihan.net> wrote:
autospec (part of ZenTest gem) does not work for me with Ironruby. Is this a
known issue? I am using a relatively simple example that works fine on ubuntu
with traditional ruby. I''m using 1.0RC1 (version number on the
assembly is out of date).
D:\workspace\ruby\rspec_tutorial>dir lib\* spec\*
Volume in drive D is FILES
Volume Serial Number is AC2C-C255
Directory of D:\workspace\ruby\rspec_tutorial\lib
02/03/2010 01:13 PM <DIR> .
02/03/2010 01:13 PM <DIR> ..
02/03/2010 11:22 AM 109 user.rb
1 File(s) 109 bytes
Directory of D:\workspace\ruby\rspec_tutorial\spec
02/03/2010 01:14 PM <DIR> .
02/03/2010 01:14 PM <DIR> ..
02/03/2010 01:22 PM 354 user_spec.rb
1 File(s) 354 bytes
2 Dir(s) 125,102,854,144 bytes free
D:\workspace\ruby\rspec_tutorial>ir -v
IronRuby 0.9.3.0 on .NET 2.0.0.0
D:\workspace\ruby\rspec_tutorial>autospec
D:\workspace\ruby\rspec_tutorial>spec --autospec spec
..
Finished in 0.2330133 seconds
2 examples, 0 failures
D:\workspace\ruby\rspec_tutorial>
_______________________________________________
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/20100204/78c11275/attachment.html>
Does autospec use END block? If so, you need the latest IronRuby build (from
source code) where this feature is implemented.
Tomas
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Tim Hoolihan
Sent: Thursday, February 04, 2010 12:59 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] autospec
Thanks for the response.
I have C:\ironruby\lib\ironruby\gems\1.8\bin\ in my path and can run spec
commands fine.
However, I followed the post anyway, and created iautospec, iautospec.bat,
ispec, and ispec.bat in C:\ironruby\bin
ispec runs fine as does spec, but autospec just returns to the command line.
D:\workspace\ruby\rspec_tutorial>ispec spec --format specdoc
User
- should be an any assigned roles
- should NOT be in any unassigned roles
Finished in 0.2180125 seconds
2 examples, 0 failures
D:\workspace\ruby\rspec_tutorial>iautospec
D:\workspace\ruby\rspec_tutorial>iautospec spec
D:\workspace\ruby\rspec_tutorial>
From: Ivan Porto Carrero<mailto:ivan at whiterabbitconsulting.eu>
Sent: Thursday, February 04, 2010 3:38 PM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] autospec
you''ll have to do this for the ironruby version.
http://flanders.co.nz/2009/10/26/creating-launcher-scripts-for-ironruby/
when RC2 is there it becomes
ir -S autospec
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Thu, Feb 4, 2010 at 9:10 PM, Tim Hoolihan <Tim at
hoolihan.net<mailto:Tim at hoolihan.net>> wrote:
autospec (part of ZenTest gem) does not work for me with Ironruby. Is this a
known issue? I am using a relatively simple example that works fine on ubuntu
with traditional ruby. I''m using 1.0RC1 (version number on the
assembly is out of date).
D:\workspace\ruby\rspec_tutorial>dir lib\* spec\*
Volume in drive D is FILES
Volume Serial Number is AC2C-C255
Directory of D:\workspace\ruby\rspec_tutorial\lib
02/03/2010 01:13 PM <DIR> .
02/03/2010 01:13 PM <DIR> ..
02/03/2010 11:22 AM 109 user.rb
1 File(s) 109 bytes
Directory of D:\workspace\ruby\rspec_tutorial\spec
02/03/2010 01:14 PM <DIR> .
02/03/2010 01:14 PM <DIR> ..
02/03/2010 01:22 PM 354 user_spec.rb
1 File(s) 354 bytes
2 Dir(s) 125,102,854,144 bytes free
D:\workspace\ruby\rspec_tutorial>ir -v
IronRuby 0.9.3.0 on .NET 2.0.0.0
D:\workspace\ruby\rspec_tutorial>autospec
D:\workspace\ruby\rspec_tutorial>spec --autospec spec
..
Finished in 0.2330133 seconds
2 examples, 0 failures
D:\workspace\ruby\rspec_tutorial>
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
________________________________
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto: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/20100204/1d2ec2cd/attachment-0001.html>
The current sources also has a fix for open(?| cmd?) which was discussed in the
attached thread.
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Tomas Matousek
Sent: Thursday, February 04, 2010 2:26 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] autospec
Does autospec use END block? If so, you need the latest IronRuby build (from
source code) where this feature is implemented.
Tomas
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at
rubyforge.org] On Behalf Of Tim Hoolihan
Sent: Thursday, February 04, 2010 12:59 PM
To: ironruby-core at rubyforge.org
Subject: Re: [Ironruby-core] autospec
Thanks for the response.
I have C:\ironruby\lib\ironruby\gems\1.8\bin\ in my path and can run spec
commands fine.
However, I followed the post anyway, and created iautospec, iautospec.bat,
ispec, and ispec.bat in C:\ironruby\bin
ispec runs fine as does spec, but autospec just returns to the command line.
D:\workspace\ruby\rspec_tutorial>ispec spec --format specdoc
User
- should be an any assigned roles
- should NOT be in any unassigned roles
Finished in 0.2180125 seconds
2 examples, 0 failures
D:\workspace\ruby\rspec_tutorial>iautospec
D:\workspace\ruby\rspec_tutorial>iautospec spec
D:\workspace\ruby\rspec_tutorial>
From: Ivan Porto Carrero<mailto:ivan at whiterabbitconsulting.eu>
Sent: Thursday, February 04, 2010 3:38 PM
To: ironruby-core at rubyforge.org<mailto:ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] autospec
you''ll have to do this for the ironruby version.
http://flanders.co.nz/2009/10/26/creating-launcher-scripts-for-ironruby/
when RC2 is there it becomes
ir -S autospec
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
On Thu, Feb 4, 2010 at 9:10 PM, Tim Hoolihan <Tim at
hoolihan.net<mailto:Tim at hoolihan.net>> wrote:
autospec (part of ZenTest gem) does not work for me with Ironruby. Is this a
known issue? I am using a relatively simple example that works fine on ubuntu
with traditional ruby. I''m using 1.0RC1 (version number on the
assembly is out of date).
D:\workspace\ruby\rspec_tutorial>dir lib\* spec\*
Volume in drive D is FILES
Volume Serial Number is AC2C-C255
Directory of D:\workspace\ruby\rspec_tutorial\lib
02/03/2010 01:13 PM <DIR> .
02/03/2010 01:13 PM <DIR> ..
02/03/2010 11:22 AM 109 user.rb
1 File(s) 109 bytes
Directory of D:\workspace\ruby\rspec_tutorial\spec
02/03/2010 01:14 PM <DIR> .
02/03/2010 01:14 PM <DIR> ..
02/03/2010 01:22 PM 354 user_spec.rb
1 File(s) 354 bytes
2 Dir(s) 125,102,854,144 bytes free
D:\workspace\ruby\rspec_tutorial>ir -v
IronRuby 0.9.3.0 on .NET 2.0.0.0
D:\workspace\ruby\rspec_tutorial>autospec
D:\workspace\ruby\rspec_tutorial>spec --autospec spec
..
Finished in 0.2330133 seconds
2 examples, 0 failures
D:\workspace\ruby\rspec_tutorial>
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto:Ironruby-core at rubyforge.org>
http://rubyforge.org/mailman/listinfo/ironruby-core
________________________________
_______________________________________________
Ironruby-core mailing list
Ironruby-core at rubyforge.org<mailto: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/20100204/89a1956a/attachment-0001.html>
-------------- next part --------------
An embedded message was scrubbed...
From: Shri Borde <Shri.Borde at microsoft.com>
Subject: Re: [Ironruby-core] AutoSpec exits after executing
Date: Wed, 20 Jan 2010 21:50:25 +0000
Size: 6760
URL:
<http://rubyforge.org/pipermail/ironruby-core/attachments/20100204/89a1956a/attachment-0001.mht>
hmm, I hacked my code base - http://github.com/BenHall/ironruby Basically, autospec launches a sub-process in Kernal.cs - IronRuby doesn''t\didn''t support this. Pretty sure this was the reason. If not, let me know as I have it working on my local instance. Ben On Thu, Feb 4, 2010 at 10:26 PM, Tomas Matousek <Tomas.Matousek at microsoft.com> wrote:> Does autospec use END block? If so, you need the latest IronRuby build (from > source code) where this feature is implemented. > > > > Tomas > > > > From: ironruby-core-bounces at rubyforge.org > [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tim Hoolihan > Sent: Thursday, February 04, 2010 12:59 PM > > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] autospec > > > > Thanks for the response. > > > > I have C:\ironruby\lib\ironruby\gems\1.8\bin\ in my path and can run spec > commands fine. > > > > However, I followed the post anyway, and created iautospec, iautospec.bat, > ispec, and ispec.bat in C:\ironruby\bin > > > > ispec runs fine as does spec, but autospec just returns to the command line. > > > > D:\workspace\ruby\rspec_tutorial>ispec spec --format specdoc > > > > User > - should be an any assigned roles > - should NOT be in any unassigned roles > > > > Finished in 0.2180125 seconds > > > > 2 examples, 0 failures > > > > D:\workspace\ruby\rspec_tutorial>iautospec > > > > D:\workspace\ruby\rspec_tutorial>iautospec spec > > > > D:\workspace\ruby\rspec_tutorial> > > > > > > From: Ivan Porto Carrero > > Sent: Thursday, February 04, 2010 3:38 PM > > To: ironruby-core at rubyforge.org > > Subject: Re: [Ironruby-core] autospec > > > > you''ll have to do this for the ironruby version. > > > > http://flanders.co.nz/2009/10/26/creating-launcher-scripts-for-ironruby/ > > > > when RC2 is there it becomes > > > > ir -S autospec > > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > > On Thu, Feb 4, 2010 at 9:10 PM, Tim Hoolihan <Tim at hoolihan.net> wrote: > > autospec (part of ZenTest gem) does not work for me with Ironruby.? Is this > a known issue?? I am using a relatively simple example that works fine on > ubuntu with traditional ruby.?? I''m using 1.0RC1 (version number?on the > assembly is out of date). > > > > D:\workspace\ruby\rspec_tutorial>dir lib\* spec\* > ?Volume in drive D is FILES > ?Volume Serial Number is AC2C-C255 > > > > ?Directory of D:\workspace\ruby\rspec_tutorial\lib > > > > 02/03/2010? 01:13 PM??? <DIR>????????? . > 02/03/2010? 01:13 PM??? <DIR>????????? .. > 02/03/2010? 11:22 AM?????????????? 109 user.rb > ?????????????? 1 File(s)??????????? 109 bytes > > > > ?Directory of D:\workspace\ruby\rspec_tutorial\spec > > > > 02/03/2010? 01:14 PM??? <DIR>????????? . > 02/03/2010? 01:14 PM??? <DIR>????????? .. > 02/03/2010? 01:22 PM?????????????? 354 user_spec.rb > ?????????????? 1 File(s)??????????? 354 bytes > ?????????????? 2 Dir(s)? 125,102,854,144 bytes free > > > > D:\workspace\ruby\rspec_tutorial>ir -v > IronRuby 0.9.3.0 on .NET 2.0.0.0 > > > > D:\workspace\ruby\rspec_tutorial>autospec > > > > D:\workspace\ruby\rspec_tutorial>spec --autospec spec > .. > > > > Finished in 0.2330133 seconds > > > > 2 examples, 0 failures > > > > D:\workspace\ruby\rspec_tutorial> > > _______________________________________________ > 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 > >
Sorry, didn''t see that thread. In that case, ensure your .autotest file is setup correctly to detect spec files. On Thu, Feb 4, 2010 at 10:46 PM, Shri Borde <Shri.Borde at microsoft.com> wrote:> The current sources also has a fix for open(?| cmd?) which was discussed in > the attached thread. > > > > From: ironruby-core-bounces at rubyforge.org > [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tomas Matousek > Sent: Thursday, February 04, 2010 2:26 PM > > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] autospec > > > > Does autospec use END block? If so, you need the latest IronRuby build (from > source code) where this feature is implemented. > > > > Tomas > > > > From: ironruby-core-bounces at rubyforge.org > [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tim Hoolihan > Sent: Thursday, February 04, 2010 12:59 PM > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] autospec > > > > Thanks for the response. > > > > I have C:\ironruby\lib\ironruby\gems\1.8\bin\ in my path and can run spec > commands fine. > > > > However, I followed the post anyway, and created iautospec, iautospec.bat, > ispec, and ispec.bat in C:\ironruby\bin > > > > ispec runs fine as does spec, but autospec just returns to the command line. > > > > D:\workspace\ruby\rspec_tutorial>ispec spec --format specdoc > > > > User > - should be an any assigned roles > - should NOT be in any unassigned roles > > > > Finished in 0.2180125 seconds > > > > 2 examples, 0 failures > > > > D:\workspace\ruby\rspec_tutorial>iautospec > > > > D:\workspace\ruby\rspec_tutorial>iautospec spec > > > > D:\workspace\ruby\rspec_tutorial> > > > > > > From: Ivan Porto Carrero > > Sent: Thursday, February 04, 2010 3:38 PM > > To: ironruby-core at rubyforge.org > > Subject: Re: [Ironruby-core] autospec > > > > you''ll have to do this for the ironruby version. > > > > http://flanders.co.nz/2009/10/26/creating-launcher-scripts-for-ironruby/ > > > > when RC2 is there it becomes > > > > ir -S autospec > > --- > Met vriendelijke groeten - Best regards - Salutations > Ivan Porto Carrero > Blog: http://flanders.co.nz > Twitter: http://twitter.com/casualjim > Author of IronRuby in Action (http://manning.com/carrero) > > On Thu, Feb 4, 2010 at 9:10 PM, Tim Hoolihan <Tim at hoolihan.net> wrote: > > autospec (part of ZenTest gem) does not work for me with Ironruby.? Is this > a known issue?? I am using a relatively simple example that works fine on > ubuntu with traditional ruby.?? I''m using 1.0RC1 (version number?on the > assembly is out of date). > > > > D:\workspace\ruby\rspec_tutorial>dir lib\* spec\* > ?Volume in drive D is FILES > ?Volume Serial Number is AC2C-C255 > > > > ?Directory of D:\workspace\ruby\rspec_tutorial\lib > > > > 02/03/2010? 01:13 PM??? <DIR>????????? . > 02/03/2010? 01:13 PM??? <DIR>????????? .. > 02/03/2010? 11:22 AM?????????????? 109 user.rb > ?????????????? 1 File(s)??????????? 109 bytes > > > > ?Directory of D:\workspace\ruby\rspec_tutorial\spec > > > > 02/03/2010? 01:14 PM??? <DIR>????????? . > 02/03/2010? 01:14 PM??? <DIR>????????? .. > 02/03/2010? 01:22 PM?????????????? 354 user_spec.rb > ?????????????? 1 File(s)??????????? 354 bytes > ?????????????? 2 Dir(s)? 125,102,854,144 bytes free > > > > D:\workspace\ruby\rspec_tutorial>ir -v > IronRuby 0.9.3.0 on .NET 2.0.0.0 > > > > D:\workspace\ruby\rspec_tutorial>autospec > > > > D:\workspace\ruby\rspec_tutorial>spec --autospec spec > .. > > > > Finished in 0.2330133 seconds > > > > 2 examples, 0 failures > > > > D:\workspace\ruby\rspec_tutorial> > > _______________________________________________ > 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 > >
My autotest file is:
Autotest.add_hook :initialize do |at|
%w{.svn .hg .git vendor}.each {|exception| at.add_exception(exception)}
Again, I don''t think this is the problem, as I can check out this
project
and immediately run autospec under the MRI on ubuntu.
-Tim
--------------------------------------------------
From: "Ben Hall" <ben2004uk at googlemail.com>
Sent: Thursday, February 04, 2010 6:07 PM
To: <ironruby-core at rubyforge.org>
Subject: Re: [Ironruby-core] autospec
> Sorry, didn''t see that thread. In that case, ensure your .autotest
> file is setup correctly to detect spec files.
>
> On Thu, Feb 4, 2010 at 10:46 PM, Shri Borde <Shri.Borde at
microsoft.com>
> wrote:
>> The current sources also has a fix for open(?| cmd?) which was
discussed
>> in
>> the attached thread.
>>
>>
>>
>> From: ironruby-core-bounces at rubyforge.org
>> [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tomas
Matousek
>> Sent: Thursday, February 04, 2010 2:26 PM
>>
>> To: ironruby-core at rubyforge.org
>> Subject: Re: [Ironruby-core] autospec
>>
>>
>>
>> Does autospec use END block? If so, you need the latest IronRuby build
>> (from
>> source code) where this feature is implemented.
>>
>>
>>
>> Tomas
>>
>>
>>
>> From: ironruby-core-bounces at rubyforge.org
>> [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Tim
Hoolihan
>> Sent: Thursday, February 04, 2010 12:59 PM
>> To: ironruby-core at rubyforge.org
>> Subject: Re: [Ironruby-core] autospec
>>
>>
>>
>> Thanks for the response.
>>
>>
>>
>> I have C:\ironruby\lib\ironruby\gems\1.8\bin\ in my path and can run
spec
>> commands fine.
>>
>>
>>
>> However, I followed the post anyway, and created iautospec,
>> iautospec.bat,
>> ispec, and ispec.bat in C:\ironruby\bin
>>
>>
>>
>> ispec runs fine as does spec, but autospec just returns to the command
>> line.
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>ispec spec --format specdoc
>>
>>
>>
>> User
>> - should be an any assigned roles
>> - should NOT be in any unassigned roles
>>
>>
>>
>> Finished in 0.2180125 seconds
>>
>>
>>
>> 2 examples, 0 failures
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>iautospec
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>iautospec spec
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>
>>
>>
>>
>>
>>
>> From: Ivan Porto Carrero
>>
>> Sent: Thursday, February 04, 2010 3:38 PM
>>
>> To: ironruby-core at rubyforge.org
>>
>> Subject: Re: [Ironruby-core] autospec
>>
>>
>>
>> you''ll have to do this for the ironruby version.
>>
>>
>>
>>
http://flanders.co.nz/2009/10/26/creating-launcher-scripts-for-ironruby/
>>
>>
>>
>> when RC2 is there it becomes
>>
>>
>>
>> ir -S autospec
>>
>> ---
>> Met vriendelijke groeten - Best regards - Salutations
>> Ivan Porto Carrero
>> Blog: http://flanders.co.nz
>> Twitter: http://twitter.com/casualjim
>> Author of IronRuby in Action (http://manning.com/carrero)
>>
>> On Thu, Feb 4, 2010 at 9:10 PM, Tim Hoolihan <Tim at
hoolihan.net> wrote:
>>
>> autospec (part of ZenTest gem) does not work for me with Ironruby. Is
>> this
>> a known issue? I am using a relatively simple example that works fine
on
>> ubuntu with traditional ruby. I''m using 1.0RC1 (version
number on the
>> assembly is out of date).
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>dir lib\* spec\*
>> Volume in drive D is FILES
>> Volume Serial Number is AC2C-C255
>>
>>
>>
>> Directory of D:\workspace\ruby\rspec_tutorial\lib
>>
>>
>>
>> 02/03/2010 01:13 PM <DIR> .
>> 02/03/2010 01:13 PM <DIR> ..
>> 02/03/2010 11:22 AM 109 user.rb
>> 1 File(s) 109 bytes
>>
>>
>>
>> Directory of D:\workspace\ruby\rspec_tutorial\spec
>>
>>
>>
>> 02/03/2010 01:14 PM <DIR> .
>> 02/03/2010 01:14 PM <DIR> ..
>> 02/03/2010 01:22 PM 354 user_spec.rb
>> 1 File(s) 354 bytes
>> 2 Dir(s) 125,102,854,144 bytes free
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>ir -v
>> IronRuby 0.9.3.0 on .NET 2.0.0.0
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>autospec
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>spec --autospec spec
>> ..
>>
>>
>>
>> Finished in 0.2330133 seconds
>>
>>
>>
>> 2 examples, 0 failures
>>
>>
>>
>> D:\workspace\ruby\rspec_tutorial>
>>
>> _______________________________________________
>> 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
>>
>>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>