Say I have a webapp that:
- uses a lot of HTML5 technologies such as websockets, transitions, local database, etc.
- is realtime and highly concurrent, so that many bugs are only apparent with multiple simultaneous users creating conflicts with each other.
What is the best way to run automated E2E tests on it? I want full E2E testing from the browser to the database for automated regression testing, to make continuous deployment possible. For example, it seems possible to use Selenium to fire up two browsers from one script and operate them both to show up conflict bugs between two users. I would like to know:
- Your favourite tools for building and running this kind of test
- Best practices for writing the tests