Changelog History
-
v1.2.0 Changes
September 01, 2017🚀 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 thatVariable
andlet()
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.
-
v1.1.1 Changes
April 26, 2017🚀 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.
-
v1.1.0 Changes
March 22, 2017🚀 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.
- 💅 Gherkin-style test DSL with
-
v1.0.2 Changes
February 28, 2017Spectrum 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 from1.0.0
; it consists only of changes topom.xml
and deployment scripts required to get Spectrum onto Sonatype's OSSRH. -
v1.0.0 Changes
November 25, 2016🚀 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.
-
v0.7.1 Changes
August 10, 2016🚀 This release includes PR #41, which is an interim fix for the scenario where an exception is thrown both in
beforeEach
andafterEach
, only theafterEach
error would be reported. Thanks to @pivotal-stuart-pollock and @pjk25 for identifying the issue and submitting a fix! Now, thebeforeEach
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.
-
v0.7.0 Changes
July 21, 2016🚀 This release adds the capability to ignore specs with
xit
and suites withxdescribe
.🚀 Binary and source releases for Spectrum are available on jcenter. See the getting started section in the README for installation and setup instructions.
-
v0.6.1 Changes
February 20, 2016🚀 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.
-
v0.6.0 Changes
February 04, 2016🚀 This release introduces the
fit
andfdescribe
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.
-
v0.5.0
November 07, 2015