Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Unit tests
@ 2007-12-12 20:51 Ismo Puustinen
  0 siblings, 0 replies; only message in thread
From: Ismo Puustinen @ 2007-12-12 20:51 UTC (permalink / raw)


Hello,

I would like to contribute to Sup development by writing some unit 
tests. In addition to the normal benefits (refactoring, regression 
catching, documentation) the tests might help the Sup community 
to report bugs: a backtrace isn't as helpful as a unit test that 
deterministically leads to a failed assert or a crash. :-) 

I wrote the first test (patch attached) to test the message.rb 
file. The tests are run by simply saying "rake test" in the Sup 
source code root directory. If you feel that unit tests might 
prove useful, I'll be happy to write some more of them. 

-- 
Ismo Puustinen <ismo at iki.fi>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unit_test.diff
Type: application/octet-stream
Size: 12417 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/sup-talk/attachments/20071212/8dd49550/attachment.obj 


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-12-12 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-12 20:51 [sup-talk] Unit tests Ismo Puustinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox