[Betternestedset-talk] New test setup

Krishna Dole
Thu, 09 Nov 2006 04:35:29 -0000

Thanks for adding me. I''ve just committed the new testing setup; let
me know what you think.

Some tests fail, but I think there are just two issues: the
direct_children method has been renamed, and there are problems with
string scope. Do you favor aliasing the direct_children method, or
cutting ties with the past and changing the tests instead? I''ll wait
to hear what you think of the string scope, Jean-Christophe, since I
couldn''t tell what was going on.

Other stuff:
- I added instructions in RUNNING_UNIT_TESTS, let me know if you think
this should go in trunk/README instead
- Tests are currently identical to those in rails core.
- Tests presently don''t cover the helper

This is my first time working on a plugin, so I''m sure I''ve
done some
things illogically-- don''t hesitate to comment or correct.

If it is OK with you, my next plan is to add more tests and fixtures.

k