Mercurial
comparison hg-web/README.md @ 223:0e7b9464248d hg-web
[hg-web] Add browser route regression coverage
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sun, 02 Aug 2026 10:07:40 -0700 |
| parents | a8d6435dc021 |
| children | 3007ef5fc0ed |
comparison
equal
deleted
inserted
replaced
| 222:a8d6435dc021 | 223:0e7b9464248d |
|---|---|
| 167 Build the server and deployable bundle from the repository root: | 167 Build the server and deployable bundle from the repository root: |
| 168 | 168 |
| 169 ```bash | 169 ```bash |
| 170 bazel build //hg-web:hg_web_server | 170 bazel build //hg-web:hg_web_server |
| 171 bazel build //hg-web:hg_web_server_bundle | 171 bazel build //hg-web:hg_web_server_bundle |
| 172 bazel test //hg-web:tests | |
| 172 bazel test //markdown_converter/tests:markdown_to_html_test | 173 bazel test //markdown_converter/tests:markdown_to_html_test |
| 173 bazel test //seobeo/tests:all | 174 bazel test //seobeo/tests:all |
| 174 ``` | 175 ``` |
| 176 | |
| 177 `//hg-web:tests` creates a temporary two-commit Mercurial repository and runs | |
| 178 the application in pinned Chromium through Playwright. It covers shell routes, | |
| 179 files and README rendering, graph and changeset navigation, browser history, | |
| 180 console and page errors, API validation, Mercurial wire protocol, Markdown | |
| 181 script escaping, static assets, and backend outages. The test invokes the | |
| 182 workspace Mercurial CLI with an isolated configuration and home directory. | |
| 175 | 183 |
| 176 Build and run the complete local stack with one Bazel command: | 184 Build and run the complete local stack with one Bazel command: |
| 177 | 185 |
| 178 ```bash | 186 ```bash |
| 179 bazel run //hg-web:dev | 187 bazel run //hg-web:dev |