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

CI testing approaches V2 #700

Open
6 of 9 tasks
RoySegall opened this issue Sep 27, 2021 · 0 comments
Open
6 of 9 tasks

CI testing approaches V2 #700

RoySegall opened this issue Sep 27, 2021 · 0 comments
Labels
Devops Stuff relate to docker

Comments

@RoySegall
Copy link
Collaborator

RoySegall commented Sep 27, 2021

In order to develop better we need to have a second try of the tests. Unit tests are pain in the a$$ and they really test the work with the DB. For that the new approach will be:

  • for each service we will have tests for the endpoints/graphql resolvers
  • each service will fired up with docker compose
  • Adding unit tests for the front and backoffice components
  • Once the tests OK, run another github task to fire the services and check the health of services
  • Once that passes, set up the front and the backoffice and check the styles is OK, the backoffice allow login, the front allow search with empty array
  • after the service will be merged to master we will fire up the services in staging env and run a basic flow of e2e: login, upload all the files, verify the data is processes. Another test will seed all the information and verify the graphs works
  • if that pass - cool, if that fail an we will trigger a warning and see what's the problem.

This will need to have:

  • creating users outside the container (exposing the user data via bash args)
  • using testim
@RoySegall RoySegall added the Devops Stuff relate to docker label Sep 27, 2021
@RoySegall RoySegall changed the title Add e2e tests CI testing approaches V2 Sep 28, 2021
RoySegall added a commit that referenced this issue Oct 2, 2021
RoySegall added a commit that referenced this issue Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Devops Stuff relate to docker
Projects
None yet
Development

No branches or pull requests

1 participant