Specsy 1.2.0 released

2 views
Skip to first unread message

Esko Luontola

unread,
May 17, 2011, 4:40:03 PM5/17/11
to scala-a...@googlegroups.com, spe...@googlegroups.com
Specsy is a BDD-style unit-level testing framework for Scala. Specsy
safely isolates mutable state and supports writing self-documenting
tests/specifications. More information at
https://github.com/orfjackal/specsy#readme


This release adds support for a non-isolated execution model. This is
illustrated by ShareSideEffectsExampleSpec [1] - normally the value of
`i` would be `1` in each of those child specs, but because of using
`shareSideEffects()` the specs will see the side-effects from their
sibling specs. This can be used to write different kinds of tests and as
a performance optimization.

This release is available in Maven Central [2] for both Scala 2.9.0 (no
classifier) and 2.8.1 (`scala281` classifier).

[1]
https://github.com/orfjackal/specsy/blob/specsy-1.2.0/src/test/scala/net/orfjackal/specsy/examples/ShareSideEffectsExampleSpec.scala
[2] http://repo1.maven.org/maven2/net/orfjackal/specsy/specsy/


**Changes in 1.2.0 (2011-05-17)**

- Fixed the order of tests in JUnit results
- Added `shareSideEffects()` for a non-isolated execution model
- Added Scaladocs for the methods in `Spec`
- Compiled with Scala 2.9.0 and 2.8.1

--
Esko Luontola
www.orfjackal.net

Reply all
Reply to author
Forward
0 new messages