Skip to content

Commit

Permalink
Finished section 13
Browse files Browse the repository at this point in the history
  • Loading branch information
plg22 committed Apr 30, 2024
1 parent e315f61 commit dd319f0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
Binary file added docs/images/e2e-results.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/e2e-tests.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 2 additions & 5 deletions docs/src/08_concepts.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,8 @@ The chosen color palette strikes a balance between functionality, aesthetics, an
=== Development concepts

==== Testing and Monitoring
We performed Load Testing, Unit Testing, End-to-end testing and Code Analysis with SonarCloud.
The results obtained can be checked here : <<section-appendix1>>

==== Deployment
The application is deployed using Docker.
We performed Load Testing, Unit Testing, End-to-end testing and Code Analysis with SonarCloud.
The results obtained can be checked here: <<section-appendix1>>

==== Configurability
The application has simple configurable game features for selecting between two game modes (normal/usual and trivia game mode) and two difficulty levels (easy and hard difficulties).
Expand Down
8 changes: 8 additions & 0 deletions docs/src/13_appendix1.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ image::webapp-coverage1.png["Code coverage for the web application code"]

image::webapp-coverage2.png["Time results for the web application code test"]

Results for gateway service:

image::gateway-coverage.png["Code coverage for the gateway service code"]

Results for users service:

image::users-coverage.png["Code coverage for the users service code"]
Expand Down Expand Up @@ -84,3 +88,7 @@ image::2-10users-secB.png["25 users per second in 60 seconds user-simulation spe


- E2e Testing: We used behavior-driven development scenarios written in the Gherking language as a basis for our end-to-end tests.
We developed seven e2e tests that check the main paths for our application, making sure everything works fine when integrated together. We test every endpoint on the app up until the information may depend in each execution of the petition.

image::e2e-tests.png["e2e tests developed, running on our local machine"]
image::e2e-results.png["e2e tests results, running on our local machine"]

0 comments on commit dd319f0

Please sign in to comment.