[recipe_wrapper] Implement handling of testing exec
This change does a couple things:
1. Adds a skeleton BCID package that calls `attestation_tool`. For testing, a neat trick that the Go team used for injecting an executable is used. It's slightly modified to be more readable than what Go team does (you have to inject the `os.Exec` struct here) but it works.
2. Remove the `Executer` from `cipd.Install`. I did this when I thought that this would be the way of testing `cipd.Install` in the future, but the Go team trick is a better pattern. It made sense to remove as it isn't the new pattern introduced, and `cipd.Install` isn't tested anyway.
Bug: b/297416582
Change-Id: Id605246c99d016c72e8a14fbd79fb8b4c220c2d7
Reviewed-on: https://fuchsia-review.googlesource.com/c/infra/infra/+/907542
Reviewed-by: Anthony Fandrianto <atyfto@google.com>
Commit-Queue: Chris Lewis <cflewis@google.com>
4 files changed