Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 739 Bytes

TESTING.md

File metadata and controls

22 lines (14 loc) · 739 Bytes

ARD Eventhub - Unit Tests

API-Tests

API unit tests are designed to check and verify existing and new implementations with the ARD Eventhub. As test-environment Mocha is used in combination with Chai for a readable chaining of test-arguments.

Environments

In addition to the ingest-env, following variables are needed in .env config for unit tests to work:

  • REQUIRED TEST_USER - test user email
  • REQUIRED TEST_USER_PW - test user password
  • OPTIONAL TEST_USER_RESET - set true for email reset (request limit)

Setup

Follow the ingest-setup first, then run tests with

bun ingest:test