Skip to content

Releases: simoami/mimik

v0.8.0

01 Jun 02:22

Choose a tag to compare

Release Preview

  • Added new interactive webdriver launcher command: wdlauncher
    • Checks for missing dependencies and drivers.
    • Automatically downloads and installs drivers and other dependencies.
    • Starts selenium with available drivers. Supports IEDriver, ChromeDriver. Firefox is supported natively.
    • Compatible with Windows, Mac OS X and Linux

Enhancements

  • Driver Refactoring.
    • BaseDriver is now an EventEmitter.
    • BaseDriver is now used by default for unit tests that don't have any need for browser session.
    • SeleniumDriver extends the BaseDriver.
  • Improved display of "did you mean" when a command is misspelled.
  • Added library to simplify class inheritance. Use Class.extend() to inherit from other classes and Class.create() to instantiate a class.

Bug fixes

  • Conditionally generate screenshots if the selected driver supports them.

v0.7.0

01 Jun 02:16

Choose a tag to compare

Release Preview

  • #1 Added filtering of stack trace output for test failures and timeouts. This makes test output more readable and less technical.

Enhancements

  • Added filtering of stack trace output for test failures and timeouts. This will exclude lines internal to Mimik, Node and module dependencies.
  • Set NODE_ENV=development to skip stack trace filtering.
  • File paths in stack traces are shortened and made relative to the current directory (cwd).
  • replaced --no-bail option with --failfast. Since the 2 terms have opposite meanings. Testing will now continue to run on failure by default.

v0.6.0

01 Jun 02:05

Choose a tag to compare

Release Preview

  • Added slow step indicator to the console reporter output. This is similar to Mocha's console rendering.

Miscellaneous

  • Updated module dependencies

v0.5.0

01 Jun 01:57

Choose a tag to compare

Release Preview

  • Added new BaseDriver for unit tests.

Enhancements

  • Added BaseDriver for unit tests as they don't require a browser session. Specify a browser configuration for functional tests.
  • The BaseDriver is the default driver.
  • Set Console as the default reporter.
  • Added BaseDriver.getBrowserName() to simplify fetching of the selected browser name.
  • Introduced wd package to enable browser interactions.
  • Cleaned up ConsoleReporter. Moved most of the test result collection to the Base Reporter.
  • Improved formatting of the ConsoleReporter output.

Bug fixes

  • Relocated pre-processing of reporters
  • Fixed reference to scenarios in BaseReporter.js. This caused reports to display duplicate scenario names.
  • Defer display of feature results to the end. This is needed to prevent overlapping realtime results when tests are running in parallel.

Miscellaneous

  • Updated module dependencies
  • Additional test coverage

v0.4.2

09 May 18:19

Choose a tag to compare

Release Preview

  • Added new interactive prompt for the generate command.

Enhancements

  • A new interactive prompt is now built in. The prompt assists in defining the source output (javascript and coffeescript are currently supported) and the language of feature for successful parsing. Supported languages are English, French, Norwegian, Polish and Spanish) based on Yadda.

v0.3.0

08 May 05:12

Choose a tag to compare

Release Overview

  • Added support for Views. This is similar Worlds in Cucumber and Page Objects in Selenium. Views have chainable methods and can easily be extended or instantiated via View.extend(config) and View.create(config) respectively

Enhancements

  • Improved error handling

v0.2.0

06 May 20:14

Choose a tag to compare

Release Overview

  • Added support for test interruption via Ctrl+C
  • Changed reference from driver to this.driver from within tests.

Enhancements

  • Simplified Session Start and Stop functions
  • Code refactoring
  • Removed code duplication
  • Drivers are now triggered from the Session instance. Allows us to disable browser mode for unit tests.

Bug fixes

  • Fixed line references when wrapping step files in StepFileProcessor
  • Fixed callback arguments in wrapper.js