specs2 3.0

104 views
Skip to first unread message

etorreborre

unread,
Mar 3, 2015, 3:51:16 PM3/3/15
to specs2...@googlegroups.com
Hi all,

I am glad to announce the release of specs2 3.0. Here are the release notes:

This release contains numerous changes. Please read the blog post to learn more about those changes.

Improvements

  • new User Guide (with lots more pages and a search box)
  • reworked reporting framework
  • lightweight Spec trait to import less implicits in scope and get better compilation times
  • brand new Html printer based on Pandoc
  • more ScalaCheck functionalities (set parameters from the command line, set Gen/Arbitrary/Pretty instances at the property level)
  • examples can now access the “Environment” (the command line arguments, the file system, the execution context, …)
  • "online" specifications (examples can create examples)
  • new website

Main API changes

  • new packaging for Specification concepts:org.specs2.specification.{core, create, dsl, process}
  • new Fragment implementation
  • Runner/Reporter/Printer/Fold api for executing and reporting specifications
  • BeforeAll, BeforeEach, ForEach, AfterEach, AfterAll name changes for executing actions before all examples, before one example, with some specific data for each example… (previous names, like FixtureExample, now replaced withForEach are deprecated)
  • deprecated the TimeConversions trait in favor ofscala.concurrent.duration._
I suspect that questions will come up on using this new version so please don't hesitate to ask on the mailing-list if you have any (including the inevitable question: "why is it specs *2* and *3.0*?).

Thanks,

Eric.
Reply all
Reply to author
Forward
0 new messages