Skip to content

Commit 119448e

Browse files
authored
Add initial AGENTS.md file (#1352)
We can fill it in more as we go <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Added testing guidance for the NullAway module, including instructions for running and filtering tests with build tools. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 88df9d1 commit 119448e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

AGENTS.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Testing
2+
3+
To run only the tests for the main NullAway module, run `./gradlew :nullaway:test`. Run _only_ these tests unless you
4+
are specifically asked to run a test in a different module. If you want to run a single
5+
test class or method within that module, you can use the `--tests` flag. For example, to run all tests in the
6+
`com.uber.nullaway.NullAwayTest` class, you would run:
7+
8+
```bash
9+
./gradlew :nullaway:test --tests "com.uber.nullaway.NullAwayTest"
10+
```

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

0 commit comments

Comments
 (0)