apjanke / octave-testify

New BIST (Built-In Self Test) functions for GNU Octave
GNU General Public License v3.0
4 stars 2 forks source link

Merge `test2` and `runtests2` and modify their signatures #46

Open apjanke opened 5 years ago

apjanke commented 5 years ago

This follows up discussion in https://github.com/apjanke/octave-testify/issues/42#issuecomment-474051522

@cbm755 things runtests2 and test2 should converge to a single function with different operation modes, to present a unified interface to the end user.

Consider doing this, and discuss what the resulting interface would look like.

apjanke commented 4 years ago

So, I think this probably looks like folding all the functionality into runtests2, eliminating test2, and providing additional options to control the verbosity of both the console and log file outputs (independently), and an option to not produce a log file at all. Because, I think, the difference between test and runtests is that test runs tests on a single file, and displays verbose output to the command window but does not produce a log file, while runtests tests one or more files, displays more concise output to the command window, and produces a log file with the detailed log output.