Jump to content

Test suite recommendations


focomoso
 Share

Recommended Posts

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...

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...