diff options
author | Justin Choquette <jchoquette@iol.unh.edu> | 2023-06-08 12:46:53 -0400 |
---|---|---|
committer | Justin Choquette <jchoquette@iol.unh.edu> | 2023-07-21 13:17:51 -0400 |
commit | a09db9f287a02873c0226759f8ea444bb304cd59 (patch) | |
tree | 59e744e4b998973a808abbae2d21fbdd6201d829 /tests/README.txt | |
parent | 8ddc7e820e120f1dde4e901d3cb6f1dd3f281e65 (diff) |
LaaS 3.0 Almost MVP
Change-Id: Ided9a43cf3088bb58a233dc459711c03f43e11b8
Signed-off-by: Justin Choquette <jchoquette@iol.unh.edu>
Diffstat (limited to 'tests/README.txt')
-rw-r--r-- | tests/README.txt | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/README.txt b/tests/README.txt deleted file mode 100644 index 4085be7..0000000 --- a/tests/README.txt +++ /dev/null @@ -1,32 +0,0 @@ -This folder contains the tools needed to unit test the frontend -JavaScript files using Karma, Mocha, and Chai. - - -Getting started: -Install NPM if you haven't: -https://nodejs.org/en/download/package-manager/ - -Run 'npm install' to install all required dependencies in this -folder. - -Run 'npm test' to run current unit tests. - - -Adding tests: -Tests are located in the tests/ folder, you can simply edit the -existing ones or create a new one by making a file with the .js -file extension. - -Karma is used for launching different browsers to run JavaScript. -See Karma documentation at https://karma-runner.github.io/ -to add more browsers, files to test, or frameworks. - -Mocha is used for the structure of the JavaScript testing itself. -See Mocha documentation at https://mochajs.org/ to see the syntax -required to create/modify tests. Currently, the tests use the -'TDD' interface from Mocha. - -Chai is used for the actual testing, with it being an assertion -library. See Chai documentation at https://www.chaijs.com/ to see -the available usages for assertion. The tests use the 'assert' API -along with Mocha's TDD interface. |