frankban / quicktest

Quick helpers for testing Go applications
MIT License
529 stars 27 forks source link

quicktest: Mkdir log on failure instead of using Check #71

Closed rogpeppe closed 4 years ago

rogpeppe commented 4 years ago

If the directory removal fails, the stack traversal logic (which removes all entries below the quicktest package) won't print any entries in the stack, which can be confusing.

We work around that by just logging a somewhat more informative error message and avoiding calling Check.