Ruby Forum IronRuby > Re: TDD in coding!

Posted by Unni Nair (ksunair)
on 08.05.2008 20:52
(Received via mailing list)
Thanks, How do I go about sending the code changes I made? I would like 
to submit a small changes first and get the feedback and then I can go 
full blown development. I just finished 10 functions that passed my full 
test.
Thanks.


----- Original Message ----
From: John Lam (IRONRUBY) <jflam@microsoft.com>
To: "ironruby-core@rubyforge.org" <ironruby-core@rubyforge.org>
Sent: Thursday, May 8, 2008 11:18:22 AM
Subject: Re: [Ironruby-core] TDD in coding!

Unnikrishnan Nair:

> Are we developing the code in TDD style with CI? Currently all the
> methods I have added, I have a seperate ruby code which runs test
> against to verify my results. I would like to know are we adding the
> tests build into the code itself? Sorry, I didn't see the test cases,
> thats why I asked.

Thanks to the awesome work by the rubinius team, if you're working on 
the libraries, you're effectively working test-first.

The tests live in tests\specs\core\* today. When Jim finishes his work 
on getting the rubinius specs running they'll move somewhere else.

Thanks,
-John
Posted by John Lam (IRONRUBY) (Guest)
on 08.05.2008 22:18
(Received via mailing list)
Unnikrishnan Nair:

> Thanks, How do I go about sending the code changes I made? I would
> like to submit a small changes first and get the feedback and then I
> can go full blown development. I just finished 10 functions that
> passed my full test.

Please generate a patch and submit to Rubyforge: 
http://rubyforge.org/tracker/?atid=16800&group_id=4359&func=browse

BTW, can you see if it passes the Rubinius specs too?

rake spec file <your method name> coverage

Thanks,
-John