Skip to content

Running unit tests in IntelliJ #92100

Answered by jordanlewis
tahirali-csc asked this question in Q&A
Discussion options

You must be logged in to vote

You need to run ./dev generate in order to build all required generated Go code. Building the database with ./dev doesn't need to do this because Bazel maintains the generated Go code itself, in caches - but the IDE doesn't know where to look to get at the caches. So you need to manually run ./dev generate (or ./dev generate go, which should just build the Go code only) in order to get the IDE to see everything.

https://wiki.crdb.io/wiki/spaces/CRDB/pages/2221703221/Developing+with+Bazel This page has some more detail. Good luck and feel free to join #contributors channel in Community Slack to chat with other contributors.

https://www.cockroachlabs.com/join-community/

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jordanlewis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants