Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E tests and unit tests finished. #93

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

PatrickOtero
Copy link
Contributor

The createMentor service has been tested with 1 e2e test and a file with 7 unit tests trying to make a 100% coverage for it.

Unit tests made:

 ✓ Deve criar um mentor e enviar um e-mail de confirmação
 ✓ Deve lançar erro caso o mentor já exista
 ✓ Deve lançar erro caso o e-mail seja inválido
 ✓ Deve criar um mentor mesmo com campos opcionais ausentes
 ✓ Deve lançar erro caso a senha não seja forte o suficiente
 ✓ Deve lançar erro caso a data de nascimento seja inválida
 ✓ Deve garantir que a senha do mentor foi "hashada" corretamente 

Integration tests made:

authenticate-mentor.controller.e2e.spec
fetch-mentor.controller.e2e.spec
create-mentor.controller.e2e.spec

@PatrickOtero PatrickOtero self-assigned this Dec 3, 2024
Copy link

sonarcloud bot commented Dec 3, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
24 Security Hotspots

See analysis details on SonarQube Cloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant