Skip to content

Releases: theintern/intern

1.2.1

20 Aug 04:43
Compare
Choose a tag to compare

Release overview

  • Fixes for Selenium 2.34.0+

Bug fixes

  • The underlying wd library has been updated to 0.1.0 to fix hangs when using Selenium 2.34.0 and higher. (#76, #77)

Install from npm

Regular edition
cd /my/project/root
npm install intern --save-dev
or Geezer edition
cd /my/project/root
npm install intern-geezer --save-dev

Download source

1.2.0

30 Jul 18:58
Compare
Choose a tag to compare

Release overview

  • Better support for alternative AMD loaders
  • Improvements and bug fixes to functional testing
  • More API compatibility across normal and geezer versions
  • Easier access to geezer edition from npm

Important, backwards-incompatible changes

  • The geezer edition of Intern now uses the npm package name intern-geezer instead of intern due to restrictions in the way npm versioning works. This means it will install to node_modules/intern-geezer instead of node_modules/intern. Tests themselves are unaffected because the AMD package still registers using the name intern (yay AMD!).

Enhancements

  • Initial inline documentation on PromisedWebDriver has been added. Documentation will continue to be improved in the next release. (#58)
  • The Node.js client and the test runner have been updated so that they close servers and exit gracefully instead of forcibly quitting the Node.js process at the end of the test run. This enables custom reporters to perform asynchronous operations that may not complete by the time tests are finished executing (like sending test results to a remote server). This also fixes some bugs where Intern would not output all test results if executed as a child process (e.g. with Grunt). (#68)
  • Intern no longer has any dependency on Git for installation.
  • The default example configuration now enables testing of Firefox versions 20+ by updating the Selenium version to 2.33.0.
  • The value of the config command-line option is now passed as the name of the session to Sauce Labs so that it displays something more meaningful than “unnamed job” by default. (#41)
  • Required proxy, webdriver, and idle timeout configuration options are now defaulted within the test runner. This enables configuration files to be smaller, if desired. (#32, #60)
  • (geezer) An intern/chai plugin module has been added to provide API parity for tests that use assert-style assertions. (#70)
  • (geezer) Geezer is now published as a separate npm package in order to be easier to install. Simply use the package name intern-geezer instead of intern when installing.

Bug fixes

  • The has.js implementation from the underlying Dojo 2 code has been updated so that alternative AMD loaders (like RequireJS) can be successfully used by clients. Just replace dojo.js with your preferred AMD loader in client.html. (#59)
  • When a functional test fails, subsequent tests no longer also fail. (#46, #69)
  • Nesting calls to a remote environment from within a then callback no longer deadlocks. (#14)
  • console reporter self-tests no longer incorrectly close groups. (#66)
  • PromisedWebDriver methods that should call Element methods directly instead of passing an Element to a method no longer crash. Notably, this means that click can now be used instead of clickElement, and nested elementBy* calls now work as intended. (#52)
  • webdriver reporter no longer generates invalid DOM structures. (#65)
  • Long-running unit test suites will no longer cause Selenium/Sauce Labs to time out and close the remote browser due to inactivity in the WebDriver control channel. (#49, #61)

Install from npm

Regular edition
cd /my/project/root
npm install intern --save-dev
or Geezer edition
cd /my/project/root
npm install intern-geezer --save-dev

Download source

1.1.0

30 Jul 18:57
Compare
Choose a tag to compare

Release overview

  • Improved integration with Grunt
  • Support installation via npm
  • Better support for non-AMD code testing

Important, backwards-incompatible changes

  • 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)

  • Grunt support has been changed to use grunt.loadNpmTasks. (#22)

Enhancements

  • client.js will now exit with a non-zero status code if a test fails. (#11)
  • 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)
  • A basic intern/order! plugin for loading non-AMD browser code has been added to facilitate testing legacy browser JavaScript. (#30)

Bug fixes

  • 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)
  • 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)
  • (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)

Install from npm

Regular edition
cd /my/project/root
npm install intern@1.1.0 --save-dev
or Geezer edition
cd /my/project/root
npm install git+https://github.com/theintern/intern.git#1.1.0-geezer --save-dev

Download source

1.0.0

30 Jul 18:57
Compare
Choose a tag to compare
  • Initial release
  • Nothing else happened today