Skip to content

Releases: greghaskins/spectrum

Spectrum 1.2.0: Simpler support for multi-threaded specs

01 Sep 13:11
Compare
Choose a tag to compare

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

26 Apr 18:08
Compare
Choose a tag to compare

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!

22 Mar 02:50
Compare
Choose a tag to compare

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 like MockitoJUnit and SpringJUnit
  • Tagging/filtering tests to include/exclude a specified subset
  • The Variable<T> helper class for shared state across closures
  • context alias for describe, similar to RSpec and Ginkgo
  • RSpec-style aroundEach and aroundAll 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

28 Feb 01:43
Compare
Choose a tag to compare

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

25 Nov 16:10
Compare
Choose a tag to compare

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

10 Aug 19:03
Compare
Choose a tag to compare

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

21 Jul 10:58
Compare
Choose a tag to compare

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

20 Feb 01:54
Compare
Choose a tag to compare

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

04 Feb 05:08
Compare
Choose a tag to compare

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

18 Oct 17:32
Compare
Choose a tag to compare
0.4.3

Release 0.4.3