jolocom / jolocom-lib

Library for interacting with the identity solution provided by Jolocom.
MIT License
24 stars 18 forks source link

Restructure integration tests #362

Open Exulansis opened 5 years ago

Exulansis commented 5 years ago

Description

Currently the integration tests are slightly convoluted and difficult to maintain (i.e. we declare and use variables from the global scope, we rely on the order in which tests are executed in non transparent ways)

The tests can be into separate files for separate "suites", also all set-up / provisioning logic can be gathered in the in the provision.ts test file

Note: This issue was already addressed as part of the #327 (subsequently merged into 4.0-beta1). In order to simplify the review and feedback process, we decided it can be re-implemented (reusing existing code where possible) as a separate PR.

For reference purposes, please see cb40c6 and be0e35

Exulansis commented 5 years ago

Please check this notion document for additional context.