Mr.doob a4745c2b01 Merge pull request #20885 from takahirox/FixGLTFExporterUnitTest 5 سال پیش
..
editor e9e5d0e64b Docs/Test: Remove author comments. 5 سال پیش
example 89917e116a Tests: Fix GLTFExporter unit test 5 سال پیش
src d06c7f5b52 Tests: Introduce -webonly keyword to QUnit.module name for skipping the test on Node.js 5 سال پیش
utils 9af037c8fa Tests: Formatting in console-wrapper 5 سال پیش
README.md bf1228a27a Update test/unit/README.md 5 سال پیش
UnitTests.html 3c41b9d59a Package.json: lighter dependencies 5 سال پیش
UnitTests_toRemoveAfterEditorES6Refactoring.html d068dd08d4 Tests: unit refactor 5 سال پیش
three.editor.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 سال پیش
three.example.unit.js e9e5d0e64b Docs/Test: Remove author comments. 5 سال پیش
three.source.unit.js 75afa61f7b Add Console wrapper to introduce logging level to console for unit tests 5 سال پیش

README.md

Setup

  • Execute npm i --prefix test from root folder

Run

You can run the unit tests in two environments:

  • Node.js: Execute npm run test-unit from root folder
  • Browser: Execute npm start (or run any other local web sever) from root folder and access http://localhost:8080/test/unit/UnitTests.html on web browser. (See How to run things locally)