Skip to content

Releases: theintern/intern

4.0.0-alpha.11

06 Sep 12:57
Compare
Choose a tag to compare
4.0.0-alpha.11 Pre-release
Pre-release

Overview

This release contains a breaking change to the configuration API, and ensures that the TeamCity reporter is registered.

Breaking changes

  • The excludeInstrumentation property has been replaced by coverage. (#768, #778)

Bug fixes

  • The TeamCity reporter is now registered as 'teamcity'

3.4.6

21 Jul 13:48
Compare
Choose a tag to compare

Overview

This is a bug fix release.

  • Include remote tests in initial Pretty reporter test count (#648)
  • Run CI tests using the latest version of node (#700)
  • Add the findDisplayed* methods to the Leadfoot typings (#766)

4.0.0-alpha.9

21 Jul 13:52
Compare
Choose a tag to compare
4.0.0-alpha.9 Pre-release
Pre-release

Overview

This release fixes a bug where resource clearing from the command line (e.g., intern suites= should clear suites) wasn't being honored.

4.0.0-alpha.10

21 Jul 13:53
Compare
Choose a tag to compare
4.0.0-alpha.10 Pre-release
Pre-release

Overview

This release fixes an import bug in the Grunt task (#770).

4.0.0-alpha.8

21 Jul 13:51
Compare
Choose a tag to compare
4.0.0-alpha.8 Pre-release
Pre-release

Overview

This release contains typing and dependency updates, and changes how remote environments are reported.

  • Use @types/mime-types instead of a custom type
  • Fix an issue where the executor wasn't waiting for require scripts to load
  • Include mobile device names in the string returned by Environment#toString
  • Make @dojo/has and @dojo/shim direct dependencies of Intern instead of relying on them being pulled in by Dig Dug or Leadfoot

4.0.0-alpha.7

12 Jul 01:33
Compare
Choose a tag to compare
4.0.0-alpha.7 Pre-release
Pre-release

Overview

This release fixes a bug in the TypeScript typings (missing 'intern' global declaration).

4.0.0-alpha.6

12 Jul 01:28
Compare
Choose a tag to compare
4.0.0-alpha.6 Pre-release
Pre-release

Overview

This release contains several new features as well as some minor behavioral changes. It also updates Intern and its dependencies to support TS 2.4.

New features

  • Allow calling on() with no event (equivalent to using the '*' event)
  • Add back some register/get specializations (register/getInterface, register/getReporter)
  • Loading 'intern' in Node will result in an executor being installed globally (like loading the intern.js script in a browser)
  • Add a new require config property -- specifies scripts or modules that should be loaded just after config resolution but before anything else
  • Explicitly pass the test to test functions, and the suite to suite lifecycle hooks, to improve support for using arrow functions as callbacks

Changes

  • Expose chai directly via the getPlugin system
  • Synchronously install plugins that don't return promises
  • Include HTML reporter CSS in browser bundle
  • Update all dependencies
  • Update typings to satisfy TypeScript 2.4
  • Command line args now override node- and browser-specific config properties

Fixes

  • Fix a bug in plugin registration where resolved plugin values weren't being installed

4.0.0-alpha.5

11 Jun 23:14
Compare
Choose a tag to compare
4.0.0-alpha.5 Pre-release
Pre-release

Overview

This release contains a number of changes from alpha.4. Some of the more significant are:

  • The browser bundle no longer tries to load a default config or start Intern itself.
  • The config system has been significantly changed.
    • Child configs are now supported
    • Environment-specific properties (e.g., browserLoader, nodeSuites) have been moved under environment properties ("browser": { "loader": ... })
    • Resource lists (suites, functionalSuites, plugins, etc.) can be appended to rather than overriding when extending a config by adding a '+' to the name (suites+: 'some_suite.js', or intern suites+=tests/some_suite.js)
  • The WebDriver executor was merged into the Node executor. The Node executor now behaves in a consistent manner based on its configuration -- if there are suites or node.suites, they're run in node; if there are environments and tests to run in them, WebDriver tests will be run.
  • New config options:
    • functionalCoverage: If false, intern won't record coverage data generated by functional tests.
    • showConfig: If true, Intern will show the resolved config, then exit.
    • showConfigs: If true, Intern will show information about the current config file (intern.json by default), including its description and a list of any child configs it contains.
    • coverageSources: Coverage data will be generated for all files in this list, even if they weren't loaded by suites. This makes seeing what files haven't been tested easier.
  • A plugin API was added. This API replaces the specialized interface, reporter, and assertion APIs, and the preload config property. Plugins are loaded just after the loader has been setup (if one is being used), so they can take advantage of the loader.

Other changes and bug fixes include:

  • The runner process now sets the process state to a non-zero value when there are test failures
  • Tests and suites are now canceled if the overall run task is canceled
  • Many self-tests have been ported/rewritten/created. CI coverage is now pushed to codecov.io.
  • The object interface now takes a string name as its first parameter (registerSuite('name', { ... }) vs registerSuite({ name: 'name', ... })).
  • The loader API was updated. Loader scripts now accept an options object and return a loader function. This function should accept a list of modules or scripts and load them.
  • More errors are caught and reported. Things generally fail faster (e.g., if an unknown plugin is loaded, or a suite is registered twice)
  • The Runner reporter is now the default for the Node executor.
  • The Runner reporter now supports hideSkipped and hidePassed options.
  • Browser self-tests now use the Dojo 2 loader instead of SystemJS
  • Error formatting improvements -- Intern is now better at tracing stack trace sources through multiple layers of source map.
  • Executor#createDeferred was removed in favor of native/shimmed Promises. Enhanced Deferred objects are still returned by Test#async.
  • A number of bugs and incomplete features in the Benchmarking code were resolved. * All dependencies were updated
  • The npm watch script has been updated to the point of being useful
  • Webpack is now used for bundling instead of browserify
  • A bug was fixed in RemoteSuite where the connect timeout wasn't canceled when a suite was canceled. This could hang Intern for the length of a timeout.
  • The Node runner now supports an INTERN_ARGS environment variable. This variable is treated just like a command line, including being parsed into arguments using shell semantics. Actual command line args take precedence over
  • Reporters now show the actual remote browser name and version vs what was requested (e.g., "Chrome 58.x on MAC" vs "chrome on any platform")

See the docs for more info.

3.4.5

03 Jun 19:37
Compare
Choose a tag to compare

Overview

This is a bug fix release that fixes an issue with browser version aliasing where using 'latest' would sometimes return something other than the latest numeric version.

3.4.4

11 May 20:38
Compare
Choose a tag to compare

Overview

This release updates the typings for the execute and executeAsync Leadfoot commands.