recap
recap copied to clipboard
Validate tools (scripts, binaries, etc) before use.
While working on PR #173 we realize that some tools are assumed to be in place and are not being validated, this is mainly with the plugins, this PR #176 workarounds that to ensure the testing created on the same PR #173.
There is two common kinds of errors that we could face and need better handling:
- Validate the binary/script being used to generate a log report is available
- Better handle the error of such tools when attempting to generate a log.
Writing down some ideas on how to validate this:
- Validate through testing, i.e. create new test to target this.
- Writing a function that handles the validation of a binary/script to use.
- Define a way to properly handle errors.