Skip to content

Changelog

Colin Snover edited this page Jun 14, 2013 · 14 revisions

Since 1.0

  • (enhancement, backwards-incompatible) The installation method has changed from using git clone to using npm install.

    This means that Intern will now be installed inside node_modules instead 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 map to your loader configuration like '*': { 'intern/dojo': 'intern/node_modules/dojo' } or you will need to update references to add node_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.js will 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.js directly. (#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)

Clone this wiki locally