amazon-chime-sdk-js icon indicating copy to clipboard operation
amazon-chime-sdk-js copied to clipboard

Transition audio test to mocha testing framework

Open nainkunal933 opened this issue 3 years ago • 0 comments

Issue #:

Description of changes: JS SDK currently uses KITE as its test engine for integration / end to end tests. KITE includes a lot of overhead to tests and a lot of KITE features are not currently used. Unit tests use mocha as their testing framework and it is much easier to use.

JS SDK uses a very old version of KITE and finding documentation on KITE issues has been a pain. This PR will start the transition of integration tests from KITE to mocha. A new folder named mochaTests will house these tests. This PR will

  1. transition audio integration test to mocha,
  2. add support for DeviceFarm as a grid provider along with SauceLabs, and
  3. setup the infrastructure for future test transition.

Testing:

Can these tested using a demo application? Please provide reproducible step-by-step instructions.

No, these are integration test changes

Checklist:

  1. Have you successfully run npm run build:release locally? Yes

  2. Do you add, modify, or delete public API definitions? If yes, has that been reviewed and approved? NA

  3. Do you change the wire protocol, e.g. the request method? If yes, has that been reviewed and approved? NA

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

nainkunal933 avatar Jun 01 '22 01:06 nainkunal933