Releases: greghaskins/spectrum
Spectrum 1.2.0: Simpler support for multi-threaded specs
This release resolves #115, where the Variable
object had unexpected behavior in cases where there were multiple threads in the same test. PR #118 simplifies the implementation such that Variable
and let()
values can be shared across threads just like any other pointer.
With 1.2.0
, using Spectrum with libraries such as Awaitility and Unirest is much more straightforward.
Thanks to @mxk1235, @bjornblomqvist, and @ashleyfrieze for help on this!
To get started using this latest release, see the quickstart walkthrough.
Spectrum 1.1.1: Fixes for IDE reporting
This release includes fixes for #110 to improve the reporting in IDEs when a spec fails. See also #111, #112.
Thanks to @ashleyfrieze for jumping in and submitting these fixes!
To get started using this latest release, see the quickstart walkthrough.
Spectrum 1.1.0: Features, Features, Features!
We've been working on several big new features for Spectrum over the last several months, and are proud to include them in this release. 🎉
- Gherkin-style test DSL with
given
/when
/then
- Support for most JUnit 4
@Rules
likeMockitoJUnit
andSpringJUnit
- Tagging/filtering tests to include/exclude a specified subset
- The
Variable<T>
helper class for shared state across closures context
alias fordescribe
, similar to RSpec and Ginkgo- RSpec-style
aroundEach
andaroundAll
hooks for advanced users and plugin authors - Expanded and improved documentation
- Several other small improvements and bug fixes
- Full backward-compatibility with
1.0.0
A special thank you to @ashleyfrieze for driving many of these changes, and to @richdouglasevans and @evertones for contributing as well!
To get started using this latest release, see the quickstart walkthrough.
Spectrum 1.0.2: Now on Maven Central
Spectrum is now available on Maven Central! This much-requested feature will make it even easier to start using Spectrum for your project.
Gradle:
testCompile 'com.greghaskins:spectrum:1.0.2'
Maven:
<dependency>
<groupId>com.greghaskins</groupId>
<artifactId>spectrum</artifactId>
<version>1.0.2</version>
<scope>test</scope>
</dependency>
The 1.0.2
version bump does not add or change any functionality from 1.0.0
; it consists only of changes to pom.xml
and deployment scripts required to get Spectrum onto Sonatype's OSSRH.
Spectrum 1.0.0
This release solidifies the current behavior of Spectrum and marks a semver MAJOR milestone. Future versions in the 1.x
branch are guaranteed to be backwards-compatible to this point.
Binary and source releases for Spectrum are available on JCenter. See the getting started section in the README for installation and setup instructions.
Spectrum 0.7.1: Better error reporting for beforeEach and afterEach
This release includes PR #41, which is an interim fix for the scenario where an exception is thrown both in beforeEach
and afterEach
, only the afterEach
error would be reported. Thanks to @pivotal-stuart-pollock and @pjk25 for identifying the issue and submitting a fix! Now, the beforeEach
error will be visible where it wasn't before.
Full support for equivalent behavior to RSpec will be coming in a future release.
Binary and source releases for Spectrum are available on JCenter. See the getting started section in the README for installation and setup instructions.
Spectrum 0.7.0: now with ignorable specs and suites
This release adds the capability to ignore specs with xit
and suites with xdescribe
.
Binary and source releases for Spectrum are available on jcenter. See the getting started section in the README for installation and setup instructions.
Spectrum 0.6.1: Fix `afterEach` in error scenarios
This release fixes the following issues:
- #25 : If there is an exception thrown in a spec then the afterEach block does not run
Binary and source releases for Spectrum are available on jCenter. See the getting started section in the README for installation and setup instructions.
Spectrum 0.6.0: Now with a focus
This release introduces the fit
and fdescribe
blocks to focus on a particular spec or suite, respectively.
Binary and source releases for Spectrum are available on jcenter. See the getting started section in the README for installation and setup instructions.
First JCenter version
0.4.3 Release 0.4.3