File tree 2 files changed +18
-5
lines changed
2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
title : Tests
3
+ cSpell:ignore : Tracetest
3
4
---
4
5
5
6
Currently, the repository includes E2E tests for both the frontend and backend
6
7
services. For the Frontend we are using [ Cypress] ( https://www.cypress.io/ )
7
8
execute the different flows in the web store. While the backend services use
8
- [ AVA] ( https://avajs.dev ) as the main testing framework.
9
+ [ AVA] ( https://avajs.dev ) as the main testing framework for integration tests and
10
+ [ Tracetest] ( https://tracetest.io/ ) for trace-based tests.
9
11
10
- To run the test you can simply run ` make run-tests ` at the root directory.
12
+ To run all the tests, execute ` make run-tests ` from the root directory.
11
13
12
- In case you need to run a specific suite of tests you can execute
13
- ` docker compose run frontendTests ` [ ^ 1 ] for the frontend tests or
14
- ` docker compose run integrationTests ` [ ^ 1 ] for the backend tests.
14
+ Otherwise, if you want to run a specific suite of tests you can execute specific
15
+ commands for each type of test[ ^ 1 ] :
16
+
17
+ - ** Frontend tests** : ` docker compose run frontendTests `
18
+ - ** Backend tests** :
19
+ - Integration: ` docker compose run integrationTests `
20
+ - Trace-based: ` docker compose run traceBasedTests `
21
+
22
+ To learn more about these tests, see
23
+ [ Service Testing] ( https://github.com/open-telemetry/opentelemetry-demo/tree/main/test ) .
15
24
16
25
[ ^ 1 ] : {{% _ param notes.docker-compose-v2 %}}
Original file line number Diff line number Diff line change 4471
4471
"StatusCode" : 200 ,
4472
4472
"LastSeen" : " 2023-06-29T18:42:20.913106-04:00"
4473
4473
},
4474
+ "https://tracetest.io/" : {
4475
+ "StatusCode" : 206 ,
4476
+ "LastSeen" : " 2023-08-14T12:06:16.100357-03:00"
4477
+ },
4474
4478
"https://tracetest.io/blog/frontend-overhaul-opentelemetry-demo" : {
4475
4479
"StatusCode" : 206 ,
4476
4480
"LastSeen" : " 2023-06-29T18:51:50.19809-04:00"
You can’t perform that action at this time.
0 commit comments