Babylon.js icon indicating copy to clipboard operation
Babylon.js copied to clipboard

Realise a project to show Automatic testing in BabylonJS

Open bvaisman-GitHub opened this issue 3 years ago • 2 comments

We only accept feature requests that are discussed on the BabylonJS forum

Is your feature request related to a problem? Please describe. I could be great to show the BabylonJS users how to deploy automatic unit tests in a project

Discussion https://forum.babylonjs.com/t/automatic-testing/774/11

bvaisman-GitHub avatar Jul 20 '22 09:07 bvaisman-GitHub

To clarify the feature requested here -

We have not discussed unit testing, as unit testing is local in your project and has nothing to do directly with babylon. What we can offer in a future release (and probably in an external package) is a way to run validation tests in an external project, similar to the way we run validation tests in our project. It will be a package including peer dependencies on jest, puppeteer and jest-screenshot (among others)

RaananW avatar Jul 21 '22 13:07 RaananW

Sorry... I used the "unit testing" expression incorrectly.

In my opinion, what babylonJS users need is a tutorial and a script to know how they can run validation tests on their own projects.

[image: Mailtrack] https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& Sender notified by Mailtrack https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality11& 21/07/22 16:15:00

Le jeu. 21 juil. 2022 à 15:11, Raanan Weber @.***> a écrit :

To clarify the feature requested here -

We have not discussed unit testing, as unit testing is local in your project and has nothing to do directly with babylon. What we can offer in a future release (and probably in an external package) is a way to run validation tests in an external project, similar to the way we run validation tests in our project. It will be a package including peer dependencies on jest, puppeteer and jest-screenshot (among others)

— Reply to this email directly, view it on GitHub https://github.com/BabylonJS/Babylon.js/issues/12772#issuecomment-1191467304, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2EUM5VKNSQ2V5A5E2BUKXDVVFD7NANCNFSM54C32ERA . You are receiving this because you authored the thread.Message ID: @.***>

bvaisman-GitHub avatar Jul 21 '22 14:07 bvaisman-GitHub

I have added validation tests automation in the es6 template - https://github.com/RaananW/babylonjs-webpack-es6#running-validation-tests

RaananW avatar May 09 '23 18:05 RaananW