@@ -23,15 +23,19 @@ CockroachDB is a distributed SQL database written in Go, built with Bazel and ma
23
23
24
24
** Testing:**
25
25
``` bash
26
- ./dev test pkg/sql # Run unit tests for SQL package
27
- ./dev test pkg/sql -f=TestParse # Run specific test pattern
26
+ ./dev test pkg/sql # Run unit tests for SQL package
27
+ ./dev test pkg/sql -f=TestParse -v # Run specific test pattern.
28
28
./dev test pkg/sql --race # Run with race detection
29
29
./dev test pkg/sql --stress # Run repeatedly until failure
30
30
./dev testlogic # Run all SQL logic tests
31
31
./dev testlogic ccl # Run enterprise logic tests
32
32
./dev testlogic --files=' prepare|fk' # Run specific test files
33
33
```
34
34
35
+ Note that when filtering tests via ` -f ` to include the ` -v ` flag which
36
+ will warn you in the output if your filter didn't match anything. Look
37
+ for ` testing: warning: no tests to run ` in the output.
38
+
35
39
** Code Generation and Linting:**
36
40
``` bash
37
41
./dev generate # Generate all code (protobuf, parsers, etc.)
@@ -129,4 +133,4 @@ Always run `./dev generate` after modifying `.proto` files, SQL grammar, or opti
129
133
- Require the user to specify an epic number (or None) which should be included at the bottom of the commit record following "Epic:".
130
134
- Prefix the subject line with the package in which the bulk of the changes occur.
131
135
- For multi-commit PRs, summarize each commit in the PR record.
132
- - Do not include a test plan unless explicitly asked by the user.
136
+ - Do not include a test plan unless explicitly asked by the user.
0 commit comments