I intend to write tests using Mocha that can be executed using Karma. When I develop code, the application starts on http://localhost:3000
and I want to run tests (through command line - via GRUNT) that validate the status of the DOM.
How do I configure karma to do that? How do I provide the HTML for that view?
Also, there are multiple pages and each page has a different set of tests. How to architect the solution so that all the tests are executed precisely?