Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Files

Latest commit

 

History

History

tests

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Introduction

This directory contains all of the tests for this project. This documentation is designed to make clear things that would otherwise be unclear.

Unit

All unit tests are written using the mocha framework, and run using npm run test during automated or manual test.

Triggered: Every commit pushed to central repository.

Best practices:

  • Create a separate *Tests.js for each source file being tested.
  • Use a standard mocker: Prefer sinon for all mocks and nock for HTTP mocks.
  • Monitor and enforce coverage, but avoid writing tests simply to increase coverage when there is no other perceived value.
  • With that being said, enforce coverage in automated test.

Functional

N/A