From 4dc0672e7cd267201ff3126a9363b8758e3fe037 Mon Sep 17 00:00:00 2001 From: Darrell Richards Date: Wed, 8 Jul 2020 11:58:14 -0400 Subject: [PATCH] docs(testings.md): added testing doc to run down requirements --- TESTING.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 TESTING.md diff --git a/TESTING.md b/TESTING.md new file mode 100644 index 00000000..d64afef7 --- /dev/null +++ b/TESTING.md @@ -0,0 +1,16 @@ +#### This File is early stages and will be updated + +# Testing Requirements +- At least 80% code coverage is required for all tests. +- Follow the recommended guidelines for Front-End [Testing](https://angular.io/guide/testing) +- Follow the recommended guidesline for Back-End [Testing](https://jestjs.io/) + + +## Running Front-End unit tests +- Run `npm run test:front` to execute the unit tests via [Karma](https://karma-runner.github.io). + +## Running Back-End unit tests +- Run `npm run test:node` to execute the unit tests via [Jest](https://jestjs.io/). + +## Running All Tests +- Run `npm run test` to execute the unit tests.