mardi 26 avril 2016

Run a unit test in new window

I have a set of unit tests (bundled in one file via webpack), that have to be run in browser. Using phantomjs and karmajs I can see that all tests runs in one page, collapsing css and scope. What I need, that each test (or suite), runs in new window (iframe) with new scope (as a result). What kind of set I can use to achieve that result?

I know that tests running will take some time. I just need that each test to be run in new window.

Aucun commentaire:

Enregistrer un commentaire