about summary refs log tree commit diff
path: root/src/payload-processor/processor/BUILD.bazel
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-04 21:22:54 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-05-04 21:22:54 +0200
commit642195d99e0e8fa862ec476573a7064d91ffce36 (patch)
treeb178f045fbf6730161b9f4335604df1825f14c23 /src/payload-processor/processor/BUILD.bazel
parentpayload-processor: add concurrency (diff)
downloadfs-tracer-backend-642195d99e0e8fa862ec476573a7064d91ffce36.tar.gz
fs-tracer-backend-642195d99e0e8fa862ec476573a7064d91ffce36.tar.bz2
fs-tracer-backend-642195d99e0e8fa862ec476573a7064d91ffce36.zip
payload-processor: set up testing
Diffstat (limited to 'src/payload-processor/processor/BUILD.bazel')
-rw-r--r--src/payload-processor/processor/BUILD.bazel12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/payload-processor/processor/BUILD.bazel b/src/payload-processor/processor/BUILD.bazel
index 123059d..f957fd3 100644
--- a/src/payload-processor/processor/BUILD.bazel
+++ b/src/payload-processor/processor/BUILD.bazel
@@ -1,4 +1,4 @@
-load("@io_bazel_rules_go//go:def.bzl", "go_library")
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
 
 go_library(
     name = "processor",
@@ -7,3 +7,13 @@ go_library(
     visibility = ["//visibility:public"],
     deps = ["@com_github_segmentio_kafka_go//:kafka-go"],
 )
+
+go_test(
+    name = "processor_test",
+    srcs = ["processor_test.go"],
+    embed = [":processor"],
+    deps = [
+        "@com_github_segmentio_kafka_go//:kafka-go",
+        "@com_github_stretchr_testify//require",
+    ],
+)