浏览代码

Tests: Added README

Mugen87 7 年之前
父节点
当前提交
0076fe3c06
共有 1 个文件被更改,包括 15 次插入0 次删除
  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))