15 5 / 2012

specs2 1.10

This version adds new features on top of 1.9:

  • added a skipAllUnless(condition) to skip examples unless a condition is verified
  • added a CommandLineArguments trait to access the command-line arguments and use them to build the specification or to specialize the examples behaviour
  • added a notoc argument to avoid generating a table of contents
  • added the possibility to add a css/specs2-user.css file to customize the display of the html documentation
  • a specification can be included in another one so that it will be executed at the same time but not displayed: include(childSpec.hide)
  • added the possibility to change the directory where the html documentation is generated: class S extends Specification { def is = "Guide".title.baseDirIs("guide") ^ end }
  • improved the error message when there is an Error thrown from an Example (see this StackOverflow question)

And some fixes:

  • issue 72: fixed a NullPointerException when receiving an AssertionError with a null message
  • issue 78: show the exception stacktrace when thrown from a ScalaCheck property

==========================

specs2 is a library for writing software specifications in Scala.

For more information visit: http://specs2.org.

15 5 / 2012

herald 0.5.0

Tumblr Integration

This version of Herald is ported to use the Tumblr API for posting and is configured to publish to notes.implicit.ly by default. The “notes” subdomain is the new home of implicit.ly release notes and redirects are in place.

Upgrade and Authorization

You can upgrade Herald with Conscript, as usual:

cs n8han/herald

Before publishing to notes.implicit.ly you’ll need to authenticate with a Tumblr account that is a member of the new blog. Send an email requesting membership.

Herald authorizes directly with Tumblr so that you don’t need to enter any credentials. Run herald in any project directory with a notes directory and click “Authorize with Tumblr” in the browser window that opens. Approve Herald to access a signed in Tumblr account, then you can publish also from the preview browser. (The --publish command line flag also works, once you have authorized.)

Your authorization credentials are saved in ~/.herald and may be revoked at any time in your Tumblr preferences.

herald is a program to tell the world about your software releases.

Tags:

Permalink 2 notes