mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 04:47:18 +00:00
d17826fb9d
* Add analysis template with failing test * Works for the most common use case * Progress on tool and more test cases * Improvements * handle nil * works for the most part * Fix some TODOs in the tool * Fix some TODOs in the tool |
||
---|---|---|
.. | ||
comparesame | ||
cryptorand | ||
errcheck | ||
featureconfig | ||
gocognit | ||
ineffassign | ||
interfacechecker | ||
logruswitherror | ||
maligned | ||
nop | ||
properpermissions | ||
recursivelock | ||
shadowpredecl | ||
slicedirect | ||
uintcast | ||
README.md |
Running analyzer unit tests
Analyzers' unit tests are ignored in bazel's build files, and therefore are not being triggered as part of the CI pipeline. Because of this they should be invoked manually when writing a new analyzer or making changes to an existing one. Otherwise, any issues will go unnoticed during the CI build.
The easiest way to run all unit tests for all analyzers is go test ./tools/analyzers/...