FBX2glTF/npm/tests
Par Winzell 2efc17cbd5 Don't export lights until the validator understands it. 2019-01-25 15:44:39 -08:00
..
models Fixed diffuse PNG for van. 2018-12-19 09:36:06 -08:00
test Don't export lights until the validator understands it. 2019-01-25 15:44:39 -08:00
.npmignore Initial addition of test framework. 2018-12-09 09:22:10 -08:00
README.md Initial addition of test framework. 2018-12-09 09:22:10 -08:00
package.json Add Facebok models. Still needs tweaks: 2018-12-09 22:25:00 -08:00
tsconfig.json Initial addition of test framework. 2018-12-09 09:22:10 -08:00
yarn.lock Add Facebok models. Still needs tweaks: 2018-12-09 22:25:00 -08:00

README.md

FBX2glTF Regression Suite

It's imperative that as we add new functionality to FBX2glTF and refactor code, that old behaviour does not change underfoot in unexpected and detrimental ways.

This is a very simple first beginnings of a test suite for converting FBX files and ensuring the consistency of the GLB. At present all we do is make sure that the generated GLB is valid. We will have to add other integrity checks here for the tests to accomplish what we intend.

We will also want to test the same file with a variety of command line switches, e.g. with Draco compression and different materials.

Setting up

We recommend using Yarn rather than NPM. Installation instructions can be found here.

yarn install

Running tests

yarn test