HomePhabricator
Diffusion Comm 57955f8eb92e

[services] Tests - Fix scripts

Description

[services] Tests - Fix scripts

Summary:
Depends on D4250

I changed my approach a bit when it comes to testing the services.

I divided the tests into two groups:

  • unit tests
  • integration tests

Now, if you want to run the tests for one service/all services, you'll do something like this:

yarn run-unit-tests backup
yarn run-integration-tests backup
yarn run-unit-tests blob
yarn run-integration-tests blob
yarn run-unit-tests all
yarn run-integration-tests all

Test Plan:

cd services
yarn run-unit-tests
yarn run-integration-tests

Reviewers: palys-swm, varun, geekbrother, jonringer-comm, yayabosh

Reviewed By: palys-swm, yayabosh

Subscribers: jonringer-comm, jimpo, ashoat, palys-swm, Adrian, atul, yayabosh

Differential Revision: https://phab.comm.dev/D4216

Details

Provenance
karolAuthored on Jun 30 2022, 6:34 AM
Reviewer
tomek
Differential Revision
D4216: [services] Tests - Fix scripts
Parents
rCOMMd0b8ddc64eb4: [services] Tests - Add dummy tests
Branches
Unknown
Tags
Unknown