Browse Source

Tests: Added README

Mugen87 7 years ago
parent
commit
0076fe3c06
1 changed files with 15 additions and 0 deletions
  1. 15 0
      test/unit/README.md

+ 15 - 0
test/unit/README.md

@@ -0,0 +1,15 @@
+## Setup
+
+- Install [Node.js](https://nodejs.org/)
+- Execute `npm install`
+
+## Build
+
+- Execute `npm run build-test`
+
+## Run
+
+You can run the unit tests in two environments:
+
+- Node.js: Execute `npm run test`
+- Browser: Execute `npm start` and call `http://localhost:8080/test/unit/UnitTests.html` (see [How to run things locally](https://threejs.org/docs/#manual/introduction/How-to-run-things-locally))