tester icon indicating copy to clipboard operation
tester copied to clipboard

--Wrapup as a complement to --Setup

Open Marian-Kechlibar opened this issue 9 months ago • 0 comments

Nette Tester supports --Setup switch, which runs a specific initialization script before the testing actually commences. This is a very useful feature.

I believe that adding a --Wrapup switch with analogous run at the end of the testing (approx. when the Tester prints out the results, immediately after that) would be very useful. Sometimes, the user wants to post-process the results in a nontrivial way, e.g. moving the result files into a dynamically created directory, recording them in a specific database, deleting certain temp files but keeping others etc., and a wrapper script with access to the same environment + test results would hugely help with that.

Marian-Kechlibar avatar May 16 '24 06:05 Marian-Kechlibar