Projects: Difference between revisions

744 bytes added ,  10 January 2014
→‎Tests: more info
(→‎Bugs: new sec on missing functions)
(→‎Tests: more info)
Line 255: Line 255:
***assignment of empty matrix as well as values resizing
***assignment of empty matrix as well as values resizing
**Tests for all internal functions.
**Tests for all internal functions.
We are far from even having one test for every function, so focus should be on getting the breadth of coverage first before trying to get the depth of 100% statement coverage.  As of Jan 2014, 243 of 834 m-files have no tests.  Some of these will be plotting functions which have demos instead, but that leaves enough functions to be an interesting project.
On release 3.8.x, executing the __run_test_suite__ function will generate a file called
fntests.log in your current directory with a summary of the results.  It indicate at the end the functions for which no tests were found in file.  An extract is posted in [[Missing tests]].
There also need to be tests for functions written in the C++ files, and that is a
whole other project.


=Programming=
=Programming=
115

edits