dimanche 15 novembre 2015

Intern creates one BrowserStack session for all tests

In Intern framework, when I specify multiple tests using functionalSuites config field and run tests using BrowserStack tunnel, only one session is created in BrowserStack (everything is treated as a single test). As a result we have a few issues:

  • It's practically impossible to use BrowserStack for debugging for a large amount of tests. There is no navigation, you have to scroll over a huge log.
  • Tests are not fully isolated. For example, localStorage is shared between all tests.

The question: how to force Intern framework to create a new session for every single test? It seems like it's impossible at the moment after looking at the codebase.

PS: I would assume that this behaviour is applied to other tunnels as well.

Aucun commentaire:

Enregistrer un commentaire