Document how to test custom checks
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 62/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- java
- Domain
- documentation
Research direction
Start with the custom checks documentation at https://errorprone.info/docs/plugins and review the linked discussion for the testing and JVM-argument details. Document how to use error_prone_test_helpers and CompilationTestHelper, plus the required build-tool configuration; the page is done when a newcomer can follow it to test a custom check.
Written by the indexing model from the issue text.
Description
The documentation for writing your own checks (https://errorprone.info/docs/plugins) should explain how to test them using error_prone_test_helpers and CompilationTestHelper, and how to configure your build tool with the appropriate JVM arguments.
See https://github.com/tbroyer/gradle-errorprone-plugin/discussions/75
- Dominant language
- Java
- Stars
- 7.2k
- Forks
- 821
- Avg merge
- 17h 27m
- Merged PRs (30d)
- 45
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from google/error-prone
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
google/error-prone#6130 · 3 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
google/error-prone#6116 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
google/error-prone#6086 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
google/error-prone#4833 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
google/error-prone#4256 · 4 comments ·
All issues in google/error-prone
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100