Release Notes

v2.0.6

  • Updated dependencies to fresh versions.

v2.0.5

  • Used rehire feature to mock third-party modules. Removed crutches for testing.

v2.0.4

v2.0.3

  • Fixed bugs with error diff calculation.

v2.0.2

  • Added feature to print diffs between objects in errors.

v2.0.1

v2.0.0

  • Fixed bug in rewire caller path calculation.

v1.9.9

  • Fixed bug that rewire didn't work in interactive mode.

v1.9.8

  • Updated glace-utils to fresh version.

v1.9.7

  • Updated dependencies to latest versions.

v1.9.6

  • Added entry points to override test comments in testrail report.

v1.9.5

  • Added function to print function doc in interactive mode.

v1.9.4

  • Fixed bug to use scope in session.

v1.9.3

  • Skipped processesing of mocha root suite in reporter.

v1.9.2

  • Moved fixtures before options in arguments, enhanced arguments usage.

v1.9.1

v1.9.0

  • Enhanced retry mode to involve all hooks in tests session.

v1.8.9

v1.8.8

  • Updated dependencies to latest versions.

v1.8.7

  • Match retries with allure report.

v1.8.6

  • Fixed bug that in scope default fixtures were initialized as empty object instead of empty array.
  • Fixed bug that mocha grep passed all tests on retry.

v1.8.5

  • Extended tests coverage > 90%.
  • Refactoring.

v1.8.4

  • Fixed bug that session errors were cleaned after retry.

v1.8.3

  • Fixed critical bug that on session failure glace run eternal retry.
  • Capture session errors.
  • Extended tests coverage.

v1.8.2

  • Extended tests coverage. Achieved green result bigger than 80%.
  • Ridden of SS and $$. Started to use $ only.

v1.8.1

  • Added mechanism to launch tests in separated processes in parallel via CLI option --slaves.

v1.8.0

  • Refactored reporting subsystem in order to clear reference to current test after testEnd() in all reporters.

v1.7.9

  • Fixed bug that session wasn't marked as passed after each retry.
  • Fixed bug that tests weren't retried on session fail.
  • Fixed bug that exit code was successful on uncaught errors.
  • Refactored pass reporter.
  • Refactored fail reporter.

v1.7.8

  • Switched to promises in testrail reporter.
  • Fixed bug that test retry is stopped if session before hook is failed on retry.

v1.7.7

  • Provided custom help message in debug mode.
  • Provided global function search in debug mode.

v1.7.6

  • Fixed that after relaunch only failed tests glace didn't save previously passed chunk ids.

v1.7.5

  • Rid of context in failed tests relaunch.

v1.7.4

  • Retry only failed chunks.

v1.7.3

  • Fixed wrong error message in debug mode.

v1.7.2

  • Disable chunk timeout and optional reports on --debug-on-fail.

v1.7.1

  • Fixed bug that all reporters are removed if try to remove some one.

v1.7.0

  • Fixed typos in help file.

v1.6.9

  • Fixed bug with broken allure and testrail reporter after mocha suite title patching.

v1.6.8

  • Work around windows console gray ascii color problem.
  • Fixed bug with undefined skip reason.

v1.6.7

  • Removed redundant test option skipReason.

v1.6.6

  • Fixed bug to create logs folder synchronously.

v1.6.5

  • Fixed bug that test, scope and suite names weren't defined precisely.
  • Code improvements and tests expansion.

v1.6.4

  • Fixed bug that params from include file were ignored on retry after before all hook failure.

v1.6.3

  • Create logs folder before reporting.

v1.6.2

  • Fixed bug to ignore include and exclude options in interactive mode.

v1.6.1

v1.6.0

  • Added CLI option --dont-check-names.

v1.5.9

  • Fixed bug that steps with ES6 options weren't rendered correct with --list-step CLI option.

v1.5.8

v1.5.7

  • Fixed bug that suite wasn't rendered in stdout report.

v1.5.6

v1.5.5

v1.5.4

v1.5.3

  • Added helper stubObject.

v1.5.2

  • Moved stdout log under reports folder.
  • Changed project icon.
  • Used pure javascript bayes classifier.

v1.5.1

  • Updated dependencies.

v1.5.0

  • Skipped registration of already registered plugin.
  • Added API to get registered plugin names.

v1.4.9

v1.4.8

  • Use global session on retry (#87).

v1.4.7

  • Fixed failed retry mechanism.

v1.4.6

  • Added feature to launch all retried tests in one session.

v1.4.5

  • Implemented tests include to run.
  • Implemented tests exclude from run.
  • Loaded included and excluded tests from file.
  • Saved failed tests in JSON format.
  • Added CLI option to print errors immediately.

v1.4.4

  • Update dependencies.

v1.4.3

  • Update glace-utils to not kill parent process.

v1.4.2

  • Added option to finish test run on first failure.

v1.4.1

  • Added ability to mark chunks as skipped.
  • Added feature to print tests time duration in human-readable format.
  • Fixed bug with wrong exit code on non-test hook failure.

v1.4.0

  • Fixed bug when glace returned incorrect exit code on test retry.

v1.3.9

  • Fixed stdout in testrail check command.

v1.3.8

  • Added CLI option to check TestRail cases consistency with implemented tests.

v1.3.7

  • Added ability to restart only failed params even if in retry before all test was failed.

v1.3.6

  • Fixed bug in testrail api.

v1.3.5

  • Added relevant step docs sorting with machine learning algorithms via natural.

v1.3.4

  • Added interactive mode.

v1.3.3

  • Added multi-word search in docs of steps and fixtures.

v1.3.2

  • Added full-text search in docs of steps and fixtures.

v1.3.1

  • Fixed bug that custom steps class wasn't shown in CLI docs.

v1.3.0

  • Used docstring style for fixtures.

v1.2.9

  • Used js syntax highlight in steps documentation in CLI.

v1.2.8

  • Added ability to show steps documentation in --list-steps.

v1.2.7

  • Added CLI options --list-steps [filter], --list-tests [filter], --list-fixtures [filter].

v1.2.6

  • Decomposed global functions.
  • Added option to enter to interactive debug mode on step failure.

v1.2.5

  • Fixed bug that option --chunk-timeout no leaded to default timeout 2000.

v1.2.4

  • Added custom path for log files.

v1.2.3

  • Fixed bug that relative root conftest wasn't resolved correct.

v1.2.2

  • Fixed a bug that glace raised error if steps property didn't exist.

v1.2.1

v1.2.0

  • Added feature to kill processes before tests run.

v1.1.9

  • Fixed bug that on parametrized test failure failed params may be added to retry more that one time.

v1.1.8

  • Added step to enter to interactive debug mode.

v1.1.7

  • Patched rewire in order to add method __reset__ to restore original module state.

v1.1.6

  • Added rewire and sinon-chai.

v1.1.5

  • Fixed bug that matcher waitFor didn't work correct with async predicates.

v1.1.4

  • Added chai matcher waitFor.

v1.1.3

v1.1.2

  • Updated mocha to latest version.
  • Updated glace-utils to support config parents loading.

v1.1.1

  • Fixed typo in tests loader method to scan test modules.
  • Added feature to show tests summary time.
  • Added feature to capture skipped tests in reporters.
  • Fixed bug with disorder in plugins loader.

v1.1.0

  • Generate session ID on start.

v1.0.9

  • Show a number of executed chunks in report.
  • Show link to xunit report if it is active.

v1.0.8

  • Supports xunit reporter, which may be activated with CLI option --xunit.

v1.0.7

  • Plugin reporters are registered on reporting system loading.
  • CLI option --chunk timeout <timeout> sets time (sec) to execute for all hooks and chunks. Default value is 180 sec.
  • Test or scope option { chunkTimeout: <timeout> } sets time (sec) to execute for hooks and chunks inside test or scope and overrides global value.