focomoso Posted July 7, 2017 Share Posted July 7, 2017 Forgive me if this has been covered, but a quick search of the forum hasn't turned up anything. What do people recommend for automated testing for babylonjs? We use Jest for our React components, but when trying to run this against anything using babylon, everything fails because Jest is "headless" (doesn't run in a real browser) and babylon is fond of calling document.createElement('canvas') to create temporary canvases (eg in Engine._canRenderToTextureOffType). Does anyone have experience setting up automated testing for a babylon project? Thanks... Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 8, 2017 Share Posted July 8, 2017 ping @Sebavan who built one for sometimes ago. I personally use this one: https://github.com/BabylonJS/Babylon.js/tree/master/tests/validation Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.