-
Notifications
You must be signed in to change notification settings - Fork 306
Changelog
-
(enhancement, backwards-incompatible) The installation method has changed from using
git cloneto usingnpm install.This means that Intern will now be installed inside
node_modulesinstead of directly within the current directory. As a result, the default base URL for the loader is now down two levels, instead of down one level.This also means that Dojo is now installed as a dependency within intern/node_modules, so if you had previously been referring to intern/dojo, you will now either need to add a
mapto your loader configuration like'*': { 'intern/dojo': 'intern/node_modules/dojo' }or you will need to update references to addnode_modules.See the running tests documentation to see how to use Intern from within
node_modules(hint: basically the same as before). Older installations of Intern will need to be reinstalled, but no changes to tests should be required. (#10, #16, #45) -
(enhancement, backwards-incompatible) Grunt support has been changed to use
grunt.loadNpmTasks. (#22) -
(enhancement)
client.jswill now exit with a non-zero status code if a test fails. (#11) -
(enhancement) Sauce Labs credentials will now be pulled from the environment when using Grunt if they are not provided explicitly, just as they would be when using
runner.jsdirectly. (#15) -
(enhancement) A basic
intern/order!plugin for loading non-AMD browser code has been added to facilitate testing legacy browser JavaScript. (#30) -
(bug) Errors when loading test dependencies are now reported instead of causing a silent failure. (This would typically manifest itself as Intern starting, saying "Defaulting to "console" reporter", and then exiting.) (#48)
-
(bug) Attempting to run the test runner via Grunt on Mac OS X using Sauce Connect without having already downloaded the Sauce Connect JAR will no longer crash. (#23)
-
(bug, geezer) The ES3 Chai API-compatible assertion library has been updated to fix edge cases in old IE that were not represented in the Chai test suite. (#27, #28)