recap icon indicating copy to clipboard operation
recap copied to clipboard

Validate tools (scripts, binaries, etc) before use.

Open tonyskapunk opened this issue 6 years ago • 0 comments

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:

  1. Validate the binary/script being used to generate a log report is available
  2. 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.

tonyskapunk avatar Nov 19 '18 21:11 tonyskapunk