有没有一种方法可以在无头浏览器中运行WebGL webapp的单元测试 [英] Is there a way to run unit test for a WebGL webapp in a headless browser

查看:162
本文介绍了有没有一种方法可以在无头浏览器中运行WebGL webapp的单元测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在无头浏览器中运行WebGL(GLGE)Web应用程序的单元测试?

Is there a way to run unit test for a WebGL (GLGE) webapp in a headless browser?

我想在jenkins服务器上运行测试,因此测试必须在无头(phantom.js)浏览器上运行.

I'd like to run the tests on a jenkins server, so the tests must run on a headless (phantom.js) brower.

有人尝试过吗?

欢呼

推荐答案

Chromium项目运行在无人值守的正常机器上进行自动化的webgl和其他gpu测试,但它们具有共享的监控器,并且已连接vnc,因此我们可以为它们提供远程服务.

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.

您也可以在osmesa中运行Chromium.参见 https://stackoverflow.com/a/39060739/128511

You can also run Chromium with osmesa. See https://stackoverflow.com/a/39060739/128511

这篇关于有没有一种方法可以在无头浏览器中运行WebGL webapp的单元测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆