@galaxar/tester

1.0.6 • Public • Published

@galaxar/tester

Features

  • Support coverage test of @galaxar/server applicaiton
  • [x] Support allure report
  • [x] Support async dump for debugging application hanging issue caused by pending async event
  • Support @galaxar/app worker
  • Support JSON Validation Syntax
  • [x] Support configurable test case on/off switches
  • Support profiling and benchmark
  • Support test step and progress record
  • Support job pipeline for long-run test

Interface

gobal object gxt

  • startWorker_(app => {/* test to run */}, options): // start a worker

  • withHttpClient_(serverName?, [authenticator], app => {/* test to run */}, [options]): // start a worker and create a http client

  • benchmark_(mapOfMethods, verifier, payload): // run benchmark againest several different implementions of the same purposes

  • step_(name, fn): // test step

  • param(name, value): // record param used in a test into test report

  • attach(name, value): // attach object produced during a test into test report

Readme

Keywords

Package Sidebar

Install

npm i @galaxar/tester

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

69.2 kB

Total Files

21

Last publish

Collaborators

  • rockie