On 13 Mar 2012, at 22:57, Luca Favatella wrote: > Hello, > > What input/output arguments do you propose for the runUnitTests.m file? > Shouldn't that file have the package name in its name in order to > avoid name clashes, e.g. mypackage_runUnitTests.m ? > > I am interested in the best practices for exposing the unit test suite > as I am currently polishing the ga package [0]. > The control package defines a test_control.m [1] script (without > output arguments) in order to run all unit tests. > > Thanks > Luca
thehe is no "best practice" set yet ... what about the following: create a file named <pkg_m>/<pkg_name>.m and put all tests in test blocks inside it. then it would be possible to do test <pkg_name> and run the whole test suite. c. ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev