Skip to content

Commit cee162f

Browse files
committed
docs: translated demo/tests into ja
1 parent 43e2cb3 commit cee162f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

content/ja/docs/demo/tests.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Tests
3+
default_lang_commit: 7cb1bd39726fc03698164ee17fe9087afdac054c
4+
cSpell:ignore: Tracetest
5+
---
6+
7+
Currently, the repository includes E2E tests for both the frontend and backend
8+
services. For the Frontend we are using [Cypress](https://www.cypress.io/)
9+
execute the different flows in the web store. While the backend services use
10+
[AVA](https://avajs.dev) as the main testing framework for integration tests and
11+
[Tracetest](https://tracetest.io/) for trace-based tests.
12+
13+
To run all the tests, execute `make run-tests` from the root directory.
14+
15+
Otherwise, if you want to run a specific suite of tests you can execute specific
16+
commands for each type of test[^1]:
17+
18+
- **Frontend tests**: `docker compose run frontendTests`
19+
- **Backend tests**:
20+
- Integration: `docker compose run integrationTests`
21+
- Trace-based: `docker compose run traceBasedTests`
22+
23+
To learn more about these tests, see
24+
[Service Testing](https://github.com/open-telemetry/opentelemetry-demo/tree/main/test).
25+
26+
[^1]: {{% param notes.docker-compose-v2 %}}

0 commit comments

Comments
 (0)