sourcegraph/dev/codehost_testing/BUILD.bazel
William Bezuidenhout f533eadf59
e2e test: define base tst framework for easier scenario setup (#56774)
* e2e tst: add actions to create github org (#56775)

* add basic actions to create org

* e2e tst: add actions to create github users (#56776)

* add basic actions to create and get users

* fix adminUser

* add unique id to user email

* e2e tst: add actions to create github teams (#56777)

* add basic actions to manage teams

* e2e tst: add actions to create repos (#56778)

---------

Co-authored-by: Petri-Johan Last <petri.last@sourcegraph.com>
Co-authored-by: Jean-Hadrien Chabran <jean-hadrien.chabran@sourcegraph.com>
2023-10-10 16:30:00 +02:00

31 lines
737 B
Python

load("//dev:go_defs.bzl", "go_test")
load("@io_bazel_rules_go//go:def.bzl", "go_library")
go_library(
name = "codehost_testing",
srcs = [
"github_client.go",
"org.go",
"repo.go",
"reporter.go",
"scenario.go",
"team.go",
"user.go",
"util.go",
],
importpath = "github.com/sourcegraph/sourcegraph/dev/codehost_testing",
visibility = ["//visibility:public"],
deps = [
"//dev/codehost_testing/config",
"//lib/errors",
"@com_github_google_go_github_v55//github",
"@com_github_google_uuid//:uuid",
],
)
go_test(
name = "codehost_testing_test",
srcs = ["scenario_test.go"],
embed = [":codehost_testing"],
)