Matti Schneider
Matti Schneider
Inject a library such as [`debug.js`](http://blog.jetienne.com/blog/2013/04/23/debug-dot-js-global-detection/) in the clientside code.
The `config.globals` key would point to an object defining variables made globally available in the user context for the associated suite, just like a data file. The main difference with...
https://www.gov.uk/service-manual/making-software/code-testing.html
Example: ``` { 'AppointmentModalWidget.date': new RegExp(currentTuesday.getDate()), 'AppointmentModalWidget.date': new RegExp(currentTuesday.getMonth()), 'AppointmentModalWidget.date': new RegExp(currentTuesday.getFullYear()) } ``` actually evaluates only one element.
This would allow more reuse, potentially of application code
If two features have the same number, the user should be warned.
It would be interesting to add tests timing to evaluate performance. However, to be useful, such a feature would need a basic calibration step at first (loading a test page,...
“Magic pages” would be shortcuts, as presented in [Santiago Suarez Ordoñez’ presentation](http://www.youtube.com/watch?v=GBRLFvx1UwQ&feature=player_detailpage#t=458s). They would allow for easier parallelization and more focused tests. For example, the login process might go through...
http://kriskowal.github.com/uncommonjs/tests/specification
The “view” folder could perhaps be replaced by Mocha's reporters, if needed with some adapters.