Hey, I'm trying to configure autotest with rspec on cygwin but something is
going wrong.
I made a very simple testing environment with a user.rb and user_spec.rb
file. Rspec works fine, but autotest outputs nothing - it just stays here,
idle. ^C doesn't display anything more.
I can see it's runn
of the ruby executable.
> def ruby
> ruby = File.join(Config::CONFIG['bindir'],
> Config::CONFIG['ruby_install_name'])
>
> return ruby
> end
>
> and then autotest will be able to find your ruby executable.
>
> Note that I
ou can just remove that file :)
>
>> and try again. You need to do this with native windows
>> but not sure about cygwin.
>>
>> Worth a try.
>>
>>
>>
>> On 10/31/07, David Chelimsky <[EMAIL PROTECTED]> wrote:
>> > On Oct 31, 20
your questions:
- I tried rake spec but it says 'rake aborted, no rake file found, etc...'.
I googled quite a bit but I really have no idea what code I should but in
rakefile.rb.
- yes, I installed all my gems from cygwin.
- I simply go into rspec_user/ and type "autotest"
I want my class Reader to loop on the content of its Stack until false is
returned. I also want an optional argument to exist that limits how many
times the stack will be read, even if some elements are left. I was trying
to spec this last bit but ended up on a false positive.
Hope the example w
situations.
I'm quite a beginner in both ruby and TDD/BDD concepts so I feel like
there's a lot I just don't have a full grasp on anyway.
Regarding my specs do you think I should structure the whole thing
differently?
David Chelimsky-2 wrote:
>
> On Nov 1, 2007 5:26 AM, p