News

mspec: Version 1.5.10 released

Added by Brian Ford 549 days ago

Summary of changes:

  • Enhances ruby_exe helper with :dir option to change directory before running (jredville)
  • Adds --report option to list the specs that are guarded.
  • Adds --report-on GUARD option to list the specs guarded by GUARD.

mspec: Version 1.5.9 released

Added by Brian Ford 568 days ago

Summary of changes:

  • Fixes the not_supported_on guard bug that prevented it from running on MRI 1.8/1.9.
  • The not_supported_on, deviates_on, extended_on guards now raise an exception if passed :ruby.

See http://rubyspec.org/wiki/rubyspec/Guards for documentation on all the spec guards.

mspec: Version 1.5.8 released

Added by Brian Ford 568 days ago

Summary of changes:

  • The compliant_on, not_compliant_on guards now always run on MRI 1.8/1.9
  • The not_supported_on, deviates_on, extended_on should only be used with alternative implementations
  • None of the implementation guards above should be used with platform designators like :windows or :java.
  • Adds should have_method matcher.

See http://rubyspec.org/wiki/rubyspec/Guards for documentation on all the spec guards.

rubyspec: Version 0.7.4 released

Added by Brian Ford 568 days ago

This release just requires MSpec 1.5.9 which fixes a bug in one of the implementation guards.

rubyspec: Version 0.7.3 released

Added by Brian Ford 568 days ago

The implementation guards have been made more consistent in MSpec. The usage of the guards in the RubySpecs has been updated. See http://rubyspec.org/wiki/rubyspec/Guards for documentation on the guards.

mspec: Version 1.5.7 released

Added by Brian Ford 573 days ago

Summary of changes:

  • Adds DescribeFormatter that prints a summary of failure and error counts for each describe block.
  • Adds escaping of newlines embedded in spec description strings.
  • Fixes circular require warnings on 1.9.
  • Adds should have_private_instance_method matcher.
  • Adds should have_instance_method matcher.
  • Adds facility for custom spec options.

rubyspec: Version 0.7.2 released

Added by Brian Ford 573 days ago

Tags have been added for the specs that fail on Ruby 1.9 to facilitate updating the specs.

mspec: Version 1.5.6 released

Added by Brian Ford 605 days ago

Summary of changes:

  • Adds BackgroundGuard that is enabled with the --background command line option. This guard is used for specs that may block if run in a background process (e.g. library/readline)
  • Adds --prefix command line option the specifies a string to append to potential file names when resolving spec files.
  • Adds -C, --chdir DIR command line option that changes the working directory to DIR before running the specs.
  • Adds spec collections to the config file that can be used to run the correct specs for a particular version. For example, mspec :library will run the appropriate library specs. RubySpec has updated ruby.1.8.mspec and ruby.1.9.mspec files that set :core, :library, and :language correctly.

mspec: Version 1.5.5 released

Added by Brian Ford 610 days ago

Summary of changes:

  • Adds env and username helpers (jredville).
  • Fixes mspec -v output.
  • Adds language_version helper for syntax-sensitive specs.
  • Refactors MSpec execution modes.
  • Adds --unguarded mode to the mspec runners to disable all guards while running the specs.
  • Fixes mspec tag --purge to consider guarded specs when purging unmatched tags.
  • Adds with_tty helper.
  • Refactors version comparisons.

rubyspec: Version 0.7.0 released

Added by Brian Ford 610 days ago

The 1.8 and 1.9 specs have been merged. There are no longer separate directories in the rubyspec tree for the different versions. See http://rubyspec.org/wiki/rubyspec/Organization for details about writing version-specific specs.

1 2 Next »

Also available in: Atom