...
1load("@io_bazel_rules_go//go:def.bzl", "go_test")
2
3go_test(
4 name = "simple_test",
5 srcs = ["simple_test.go"],
6 args = [
7 # force t.Log to print even if the test passes
8 # dont use this in production
9 "--test.v",
10 ],
11 data = glob(["testdata/**"]),
12 embedsrcs = ["testdata/test.json"],
13 tags = [
14 "f2-example", # dont use outside f2/examples, stops deps test from failing
15 "integration",
16 ],
17 visibility = ["//visibility:public"],
18 deps = [
19 "//test/f2",
20 "@tools_gotest_v3//assert",
21 ],
22)
View as plain text