2010/8/22 PsiPro [email protected]
I visited your repository. I have already installed cache-column, and I
would like to experiment with it. Congratulations!!![?][?][?]
I have a few questions that I found poorly answered via google
- Whats the best/most accepted way to document the functions in the
Let me agree with Bill that RDoc is your friend. Most gems, if not all
it. So it has become not only an easy-to-use solution but also the
way of documenting methods even within your “own” application.
I hope these links may be of benefit to you:
- Whats the best way to write tests for the gem. Right now I have a
test app since I usually use cucumber
As Bill said, TEST::Unit is also your friend. It is easy to use, and “in
most cases” you may not need extra gems to be installed for you to run
Test::Unit. Cucumber is best suited for behavioural driven development.
you are more interested in defining how your application should behave.
not saying Cucumber is bad. It nice when you are trying to create an
application from a “bird’s eye view”.In addition, it is “documentation”
oriented. You exploit most of its powers when you are trying to high
documentation. Myself, I use Cucumber Features mainly as tools for
myself (a developer) to the users/clients, but not necessarily for “unit
testing” of methods.
Software Developer | Baobab Health Trust (http://www.baobabhealth.org/)
Cell: +265 999 465 137 | +265 881 234 717
“Many people doubt open source software and probably donâ€™t realize that
there is an alternativeâ€¦ which is just as good…” – Kevin Scannell