From 05a61b83d5b9c443760b7934e1cfc721a6fcc849 Mon Sep 17 00:00:00 2001 From: yuyawk Date: Sun, 7 Apr 2024 14:37:39 +0900 Subject: [PATCH] update readme a little --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2ee4f8c..65f789c 100644 --- a/README.md +++ b/README.md @@ -40,4 +40,9 @@ In order to specify how to validate the error message, a struct `matcher` is ava ### How to test -Execute [`execute_tests.sh`](execute_tests.sh) after installing [`bazelisk`](https://github.com/bazelbuild/bazelisk). +Execute [`execute_tests.sh`](execute_tests.sh) after installing [`bazelisk`](https://github.com/bazelbuild/bazelisk). It executes `bazelisk test` and `bazelisk build` commands under the hood. + +When writing tests, in principle, do the following things + +- Use `tags = ["manual", "fail-to-build"]` if a test case target must fail to build with `bazelisk build` +- Otherwise, do not use any of the tags above for the target.