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