BTW, thanks Vladimir for picking up the filer tests and making them so much better.

You're welcome :-)

Unfortunately I have failed to inject some "testing spirit" into the community. If I can clone myself I'll write something about it for the dev section.

The main idea is: tests are not only useful to reveal a bug, but also
a good documentation when you're discovering the code. If you step through the code with a debugger, try to write a test that
assert the behaviour you're just seeing. Once the test is written, everybody can learn from it.


It's not always easy but if you can write a test, you document the code, provide a safety net for the development and help other to quickly understand what's going on.

Since I haven't seen a lot of commits into the tests folder, I guess that others haven't embraced the idea. Well, it's next on my list.

-Vladimir

--
Vladimir R. Bossicard
Apache Xindice - http://xml.apache.org/xindice



Reply via email to