...
1load("@io_bazel_rules_go//go:def.bzl", "go_test")
2
3go_test(
4 name = "embed_test",
5 srcs = ["embed_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 tags = [
12 "f2-example", # dont use outside f2/examples, stops deps test from failing
13 "integration",
14 ],
15 visibility = ["//visibility:public"],
16 deps = [
17 "//test/f2",
18 "//test/f2/examples/embed/sharingdata/shared",
19 "@tools_gotest_v3//assert",
20 ],
21)
22
23go_test(
24 name = "sharingdata_test",
25 srcs = ["embed_test.go"],
26 deps = [
27 "//test/f2",
28 "//test/f2/examples/embed/sharingdata/shared",
29 "@tools_gotest_v3//assert",
30 ],
31)
View as plain text