From: Gavin S. <she...@ge...> - 2005-06-03 21:09:39
|
I agree that testing is extremely important. With regard to Perl code (I know next to nothing about testing in Java), I would like to see extensive unit tests, using Test::More or equivalent, and for people to also use: Test::Pod - http://search.cpan.org/dist/Test-Pod/ - check for POD errors in files Test::Pod::Coverage - http://search.cpan.org/dist/Test-Pod-Coverage/ - Check for pod coverage in your distribution. In addition, I have been using Devel::Cover somewhat (http:// search.cpan.org/dist/Devel-Cover/ ), which provides code coverage metrics for Perl, and can be integrated into testing, to see if your test suite actually covers the full functionality of your code base. There are examples of what the output looks like: http://pjcj.sytes.net/cpancover/ click on the module to drill down - it's pretty cool - it would be great to have 100% coverage of all code paths in GMOD test suites! Even modest coverage of a suite of modules can reduce manual testing time by at least an order of magnitude (in my experience), and is an enormously effective way of preventing regressions from creeping in. Test code is a significant investment of time, but I think the time saved in subsequent manual testing, as well as the reduced number of bugs (and therefore maintenance) more than returns that initial investment. I'm certainly not suggesting (at the moment) that all sanctioned GMOD code have 100% correct POD coverage and 100% code coverage in the test-suite, but I think these are well worth aiming for if the goal is to produce high quality, well documented software, Cheers, Gavin On Jun 2, 2005, at 8:27 AM, Eric Just wrote: > Hi Jon, > > Thanks for the follow up. I agree that testing is a huge issue in > developing quality software. Perhaps we can add a recommendation > on unit test/functional test frameworks for various platforms to > the mix. Anyone else have anything? > > E > At 01:46 PM 6/1/2005, Jon Slenk wrote: > >> Here are my personal knee-jerk additions ;-) >> >> I'd love for there to be an increase in the use of testing during >> software development. Ideally, all software developers (not just >> GMOD, of course) would heavily unit test their code and possibly >> perform functional, end-to-end, load, MTBF, localization, etc. >> testing as well. I'm sure some folks think it is all overkill - >> but if GMOD is going to be the core of what are in some sense the >> world's most important databases it behooves us to develop Quality >> Warez. Dude. >> >> And, testing is just one facet of good software engineering. I did >> a little brain dump of other things as well: http://gmod- >> dev.wikispaces.org/home. >> >> sincerely, >> -Jon. >> >> >> ----- Original Message ----- From: "Eric Just" <e- >> ju...@no...> >> To: <gmo...@li...> >> Sent: Wednesday, June 01, 2005 7:30 AM >> Subject: [GMOD-devel] Architecture Working Group >> >> >> >>> So, lets hear what you think of these and other ideas for >>> recommendations and get this ball rolling. We can, of course, >>> add/remove/reprioritize items from this list. >>> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by Yahoo. >> Introducing Yahoo! Search Developer Network - Create apps using >> Yahoo! >> Search APIs Find out how you can build Yahoo! directly into your own >> Applications - visit http://developer.yahoo.net/?fr=offad-ysdn- >> ostg-q22005 >> _______________________________________________ >> Gmod-devel mailing list >> Gmo...@li... >> https://lists.sourceforge.net/lists/listinfo/gmod-devel >> > > ============================================ > > Eric Just > e-...@no... > dictyBase Programmer > Center for Genetic Medicine > Northwestern University > http://dictybase.org > > ============================================ > > > ------------------------------------------------------- > This SF.Net email is sponsored by Yahoo. > Introducing Yahoo! Search Developer Network - Create apps using Yahoo! > Search APIs Find out how you can build Yahoo! directly into your own > Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg- > q22005 > _______________________________________________ > Gmod-devel mailing list > Gmo...@li... > https://lists.sourceforge.net/lists/listinfo/gmod-devel > |