Files
nym/nym-api/tests
Dave Hrycyszyn f6a79ce7c3 Renaming validator-api to nym-api (#1863)
* Renaming validator-api to nym-api

* nym-api: simplified crate name

* Added nym-api rename to changelog

* Changed some output messages

* Renamed validator-api-requests to nym-api requests

* Removing more references to validator-api-requests

* Additional lockfile name changes after full build

* Removing mistakenly added merge files

* ibid

* ibid

* Getting rid of ref to validator_api deep inside validator-client

* Fixing file storage paths

* Renaming struct function names referring to validator_api

* Simplifying struct init

* Fixed up all other instances of nym_api.

* Renaming validatorApi to nymApi in TypeScript client for consistency

v

* Found a few more Rust instances

* Changed examples in TypeScript SDK

* Found one more instance of the use of validator instead of nym apis

* Aliasing config key name for deserialization to preserve compatibility with old configs
2022-12-14 15:05:01 +00:00
..

validator-api-test suite

A Typescript test framework utilising Jest and Node to perform tests against the NYM validator-apis.

Getting Started

Installation

  1. Having yarn install on your machine
  2. Install all the packages - yarn install
  3. Peeping the package.json will show you the commands to run for the tests

Usage

  1. Run the testsuite - currently the configuration hasn't fully been set up to switch envs
    yarn test
    

ToDo

  1. Finish happy and negative test scenarios
  2. Full reporting
  3. Fully functioniting env switching
  4. Run in CI
  5. Docker?

Kudos to jmfiola21@gmail.com for the baseline of this framework