Is there a way to run unit test for a WebGL (GLGE) webapp in a headless browser?
I'd like to run the tests on a jenkins server, so the tests must run on a headless (phantom.js) brower.
Anybody already tried that?
Cheers
gman
The Chromium project runs automated webgl and other gpu tests on normal machines that are unattended but they have a shared monitor and are vnc connected so we can remotely service them.
You can also run Chromium with osmesa. See https://stackoverflow.com/a/39060739/128511
来源:https://stackoverflow.com/questions/13763325/is-there-a-way-to-run-unit-test-for-a-webgl-webapp-in-a-headless-browser