Skip to content

Commit

Permalink
Add testing command to README.md
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 367237577
  • Loading branch information
brad4d authored and Copybara-Service committed Apr 7, 2021
1 parent b846308 commit d51fe3a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Expand Up @@ -242,6 +242,23 @@ yarn build
yarn build:all
```

### Testing from a terminal

Tests can be executed in a similar way. The following command will run all tests
in the repo.

```bash
# bazelisk test //:all
```

There are hundreds of individual test targets, so it will take a few
minutes to run all of them. While developing, it's usually better to specify
the exact tests you're interested in.

```bash
bazelisk test //:$path_to_test_file
```

### Building from an IDE

See [Bazel IDE Integrations](https://docs.bazel.build/versions/master/ide.html).
Expand Down

0 comments on commit d51fe3a

Please sign in to comment.