This version adds lots of small fixes:
- fixed implicit contexts so that they can be properly applied to examples
- fixed a stackoverflow error when using IntelliJ
- made sure that included specifications use their own arguments for controlling concurrent execution
- fixed the termination matchers
- fixed the logical combinators for match results so that they work ok with thrown expectations
- included specification extending the
CommandLineArguments
trait get arguments passed correctly - reordered the equality comparison in
BeEqualTo
so as to return the same results as anequals
method which is not symmetric - fixed issue 106: display of failing data tables in html reports
- fixed issue 107: tagged sections with multiple names
orSkip
andorPending
methods on matchers are now more robust in the face of exceptions
And small improvements:
- the
org.specs2.mutable.Tables
trait can be used in mutable specifications in lieu of theDataTables
trait. It lifts the implicit definition conflict with the!
method when the type of the elements in the first column is String - added
haveOneElementLike
andhaveAllElementsLike
to check if some elements in a collection are validated by a PartialFunction - extended the JSON matchers to use regular expressions
- refactored the
NotifierRunner
so that all the specifications of a package can be executed in Intellij - added a
propNoShrink
method to create ScalaCheck properties which will not shrink counter-examples - any function returning a
Result
can be converted implicitly to a ScalaCheckProp
- added the possibility to specify the random generator that is used for ScalaCheck
- added the possibility to set a custom failure message on a matcher
==========================