commit | efcccbdaf5a3773b6769e0de6713ade2796ff286 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Mon Jun 05 15:55:44 2023 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 05 15:55:44 2023 +0000 |
tree | 1f4260219ed662d585c198b74c8977ef61b560c2 | |
parent | 63b7c4940017488453a853975706f6c8aaed550c [diff] |
[reporting] Add basic test for resultdb reporter Call `CheckCompleted` a couple times and make sure the results get reported to the result sink. This would have caught the bug that was fixed in commit 63b7c4940017488453a853975706f6c8aaed550c. Coverage of the "reporting" package improves from 50.0% to 82.7%. Change-Id: I925e93eb5a6594b53e4e76d552bd0e33b831c22d Reviewed-on: https://fuchsia-review.googlesource.com/c/shac-project/shac/+/866436 Reviewed-by: Marc-Antoine Ruel <maruel@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Fuchsia-Auto-Submit: Oliver Newman <olivernewman@google.com>
Shac (Scalable Hermetic Analysis and Checks) is a unified and ergonomic tool and framework for writing and running static analysis checks.
Shac checks are written in Starlark.
go install go.fuchsia.dev/shac-project/shac@latest shac check shac doc shac.star | less
⚠ The source of truth is at https://fuchsia.googlesource.com/shac-project/shac.git and uses Gerrit for code review.
See CONTRIBUTING.md to submit changes.