News

Version 1.5.1 released

Added by Brian Ford 3 days ago

Summary of changes:

  • Adds RespondToMatcher.
  • Fixes Mock.verify_call for Ruby 1.9.
  • Fixes errors on implementations with incomplete IO#flush.
  • Adds FileFormatter and uses it instead of DottedFormatter for large numbers of files.
  • Adds MethodFormatter.
  • Adds :files config setting and allows for more flexible specification of which files to run.

Version 1.5.0 released

Added by Brian Ford 104 days ago

Summary of changes:

  • Replaced optparse with custom MSpecOptions parser that should not use any more advanced features than used in the specs (i.e. class/module, methods, procs).
  • Added ruby_exe helper to invoke spec subprocesses using the same Ruby executable as the one running the specs.
  • Added mspec tag --list TAG and --list-all commands. These commands list tagged specs that would actually be run (i.e. not any specs that would be omitted due to guards).
  • Various bug fixes.

Version 1.4.0 released

Added by Brian Ford 126 days ago

Summary of changes:

  • Supports RSpec-style shared describe blocks.
  • Properly handles nested describe blocks.
  • Adds 'critical' and 'unsupported' to the tags that are excluded by default by mspec-ci.
  • No longer traps SystemExit.
  • Removes support for earlier style of shared blocks (e.g. "shared :class_method do |cmd|")

Version 1.3.1 released

Added by Brian Ford 132 days ago

The following issues have been fixed:

  • The SpecdocFormatter does not display duplicate example description strings when an example fails.
  • An ExpectationNotFoundError is not raised if the example fails.
  • The TagAction registers itself for :before events so that mspec-tag works correctly.

Version 1.3.0 released

Added by Brian Ford 132 days ago

MSpec version 1.3.0 has been released. Here is a summary of the changes:

  • Corrects the tallies for examples and expectations.
  • Enforces that an example must have some behavior expectation. Not having a behavior expectation causes a failure.
  • Filters MSpec files from the exception backtraces.
  • Flushes output so dots, E, F appear more fluidly rather than in spurts.
  • The mkspec script no longer creates empty blocks for "needs to be reviewed" spec stubs.

Also available in: Atom