mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
We recently refactored how to run server integration tests with Bazel, so they are standalone tasks requiring no prior setup to run them. This PR takes this further, by providing a macro named `server_integration_test` to be used in `testing/BUILD.bazel` to centralize all test runners/wrapper to run those tests who are targeting the server image. It also adds a how-to describing how they work at high level as well as step-by-step guide to help teammates to start writing or maintaining the existing scripts. @peterguy I'm tagging you here, as per this [message](https://sourcegraph.slack.com/archives/C04MYFW01NV/p1686850329953539?thread_ts=1686661082.758009&cid=C04MYFW01NV) where it looked you needed to do exactly this. This makes it sound you're the perfect reviewer for this bit of documentation. ## Test plan <!-- All pull requests REQUIRE a test plan: https://docs.sourcegraph.com/dev/background-information/testing_principles --> CI + local preview for the docs. --------- Co-authored-by: Dave Try <davetry@gmail.com> |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| integration_runner.sh | ||