isetbio / UnitTestToolbox

A toolbox for validating the data and execution of scripts for any project.
1 stars 1 forks source link

Print status summary at end of runs #4

Open DavidBrainard opened 9 years ago

DavidBrainard commented 9 years ago

When we run through a whole long list of validation functions (e.g., validateFullAll), it is actually a little hard to tell easily at the end if they all ran. It would be great if the last thing the validation script does is print out a summary of the form: "Validation passed for XX out of YY scripts' and if any failed list those in red. Ideally this would be the last thing dumped out, so in the version that publishes this would come after all the text about git pulling and pushing.

Similarly, it would be nice to have a similar feature for the script that publishes all the tutorials -- it would be nice not to have to scroll back up and make sure there are no errors lurking 10 pages up the command window.

npcottaris commented 9 years ago

This enhancement is now implemented for the validation functions. But not yet for the publishing functions.

DavidBrainard commented 9 years ago

OK, these look great. It will be interesting to see what adding the adaptation does.

DB

On Aug 13, 2015, at 6:48 PM, Nicolas Cottaris notifications@github.com wrote:

This enhancement is now implemented for the validation functions. But not yet for the publishing functions.

— Reply to this email directly or view it on GitHub https://github.com/isetbio/UnitTestToolbox/issues/4#issuecomment-130870747.

David H. Brainard Professor of Psychology Director, Penn Vision Research Center Director, Institute for Research in Cognitive Science University of Pennsylvania 3401 Walnut Street, Suite 400A (mail address) 3401 Walnut Street, Room 315C (office location) Philadelphia, PA, 19104 Phone: 215-573-7579 Email: brainard@psych.upenn.edu Web: http://color.psych.upenn.edu/brainard