You can use the emrun tool to automate browser runs, see http://kripken.github.io/emscripten-site/docs/compiling/Running-html-files-with-emrun.html .
2015-10-30 18:40 GMT+02:00 Alon Zakai <[email protected]>: > It's not the best, but you can look at what emscripten itself uses for > this. In tests/runner.py (btest(), run_browser(), etc.) and > tests/test_browser.py. It basically runs commands in a browser, and the > browser sends an HTTP request to say if the test passed or not. > > On Thu, Oct 29, 2015 at 11:54 PM, Sergey Solozhentsev < > [email protected]> wrote: > >> Hi, >> >> I have a game and I want to test stability of my game in browser >> automated. Does anyone try to use continius integration with emscripten >> builds? >> Is any way to detect that javascript crushes and notify somthing (server, >> external command, anything) about it. >> Is any way to pass parameters to my main() function? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
