From: Etienne G. <et...@cs...> - 2003-12-17 00:23:13
|
Hi all, that's a good idea. However, that would be a huge table until most tests scripts are written: There are 26 dirs in main, w/ >400 m-files very few of which have a test. Also, how should we name test files? I use test_XYZ.m or test_XYZ_1.m, test_XYZ_2.m ... to test XYZ_m. Would using test subdirectories in each dir reduce clutter? How should tests behave? I set a 'ok' variable to 1 if success, 0 if failure. Test produces terminal output if a variable 'verbose' is set. Running the tests automatically? Should probably be a non-octave script, as some tests may crash octave. Looks like a huge task. It may be easier psychologically to add a test to a function when a bug has been fixed on it. Just my 2c, Etienne On Tue, Dec 16, 2003 at 05:29:02PM -0500, Paul Kienzle wrote: # Hi, # # I've been working on exercising the test scripts that already # exist in octave-forge. I would like for someone to volunteer # to organize the gathering of more tests. # # The simplist solution would be to set up a wiki page with # three columns: # # directory coordinator missing # # where directory is the name of the directory, coordinator is # the sflogin name of someone with octave-forge write privileges # and status is a list of functions which don't have adequate # test coverage. Once every directory has a coordinator, send # a message to help-octave requesting that users should check # the wiki, put a star by the function(s) they can write tests # for, write the tests, then submit patches to # coo...@us.... # # Thanks in advance, # # Paul Kienzle # pki...@us... # # BTW, tests just got easier, since they are now installed # with mark_as_command. # # # ------------------------------------------------------- # This SF.net email is sponsored by: IBM Linux Tutorials. # Become an expert in LINUX or just sharpen your skills. Sign up for IBM's # Free Linux Tutorials. Learn everything from the bash shell to sys admin. # Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click # _______________________________________________ # Octave-dev mailing list # Oct...@li... # https://lists.sourceforge.net/lists/listinfo/octave-dev -- Etienne Grossmann ------ http://www.cs.uky.edu/~etienne |