Releases: theintern/intern
1.2.1
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
|
or |
Geezer edition
|
Download source
1.2.0
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-geezerinstead ofinterndue to restrictions in the way npm versioning works. This means it will install tonode_modules/intern-geezerinstead ofnode_modules/intern. Tests themselves are unaffected because the AMD package still registers using the nameintern(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
configcommand-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/chaiplugin 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-geezerinstead ofinternwhen 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.jswith your preferred AMD loader inclient.html. (#59) - When a functional test fails, subsequent tests no longer also fail. (#46, #69)
- Nesting calls to a remote environment from within a
thencallback no longer deadlocks. (#14) consolereporter 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
clickcan now be used instead ofclickElement, and nestedelementBy*calls now work as intended. (#52) webdriverreporter 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
|
or |
Geezer edition
|
Download source
1.1.0
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 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) -
Grunt support has been changed to use
grunt.loadNpmTasks. (#22)
Enhancements
client.jswill 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.jsdirectly. (#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
|
or |
Geezer edition
|