google / node-gles

Apache License 2.0
323 stars 31 forks source link

Add integration tests #41

Open nkreeger opened 5 years ago

nkreeger commented 5 years ago

It would be great to have:

AlexVestin commented 5 years ago

I managed to run the conformance tests using nw.js, not sure if this is the best way to do it though

nkreeger commented 5 years ago

Most of the unit testing we have is indirectly through an upcoming backend to tensorflow.js: https://github.com/tensorflow/tfjs-core/tree/master/tfjs-backend-nodegl

Run test: https://github.com/tensorflow/tfjs-core/blob/master/tfjs-backend-nodegl/package.json#L10

Test file: https://github.com/tensorflow/tfjs-core/blob/master/tfjs-backend-nodegl/src/run_tests.ts

That runs the whole stack against the existing browser WebGL unit tests for TensorFlow.js