Changelog History
Page 2
-
v0.17.1 Changes
January 20, 2019๐ Fixed Issues
- ๐ Fix NPE when having
@Disabled
test in JUnit 5 #376
- ๐ Fix NPE when having
-
v0.17.0 Changes
November 10, 2018 -
v0.16.1 Changes
September 22, 2018 -
v0.16.0 Changes
May 20, 2018๐ New Features
- ๐ Java 10 is supported now #345
๐ Fixed Issues
- ๐ Fixed an IllegalArgumentException when creating thumbnails for very small images #329 (thanks to maccluca)
- ๐ Fixed NPE when using JUnit 5 and one test class has only disabled method #338
- ๐ Fixed minor issue in JUnit 5 example that did not generate the HTML 5 report #340
Backwards Incompatible Changes
- ๐ Java 6 is not supported anymore
-
v0.15.3 Changes
October 08, 2017๐ Fixed Issues
- โ Removed usages of
javax.xml.bind
, so that JGiven can be used with Java 9 without hassle #324
- โ Removed usages of
-
v0.15.2 Changes
October 08, 2017๐ Fixed Issues
- ๐ Fixed JUnit 5.0.0 compilation issue due to API changes #326
- ๐ Fixed a
NullPointerException
in the PojoFormatter when passed object isnull
#318
INFO: JGiven HTML App
The JGiven HTML5 App is extracted into its own project.
This allows us to develop the HTML5 App independently of JGiven as it is also used by jsGiven, for example. For users of JGiven nothing changes as the HTML5 App is delivered together with JGiven. -
v0.15.1 Changes
May 07, 2017๐ Fixed Issues
- ๐ Fixed a
NullPointerException
when using@Table(includeNullColumns = true)
and columns with null values #315
- ๐ Fixed a
-
v0.15.0 Changes
๐ New Features
- Thumbnail preview for image attachments added #299
- 0๏ธโฃ The ReportGenerator now uses the HTML5 report as default, doesn't silently misinterprets wrong arguments and flags and offers suggestions #299
- Formatting POJOs has been greatly improved, by allowing to specify custom formatters for fields #297 (thanks to dgrandemange)
- ๐ @ExtendedDescription supports parameter place holders now #283
- ๐จ The HTML App has been extracted into a separate project and has been refactored internally. The functionality should not have been changed. #287
๐ Fixed Issues
- โฌ๏ธ Upgraded to ByteBuddy 1.6.x to fix backwards-incompatibility issues when JGiven is used with Mockito 2.7.19 #309
- Introduced CaseAs annotation to replace the CaseDescription annotation #301
- โ Removed ambiguity between parsing of As, CaseAs and ExtendedDescription. Argument enumeration starts from 1, internal count of how often placeholders are used, see docs to As for every feature. All argument reference types are interoperable #301
-
v0.14.1 Changes
๐ Fixed Issues
- ๐ Performance: Caching the classes generated with ByteBuddy introduced with v0.14.0 to decrease the memory consumption and performance of creating stage classes #294
- OSGi: Using class loader of the stage class instead of the current thread when creating classes with ByteBuddy #302
- ๐ป HTML Report: Long exception messages of failed Scenarios are now wrapped #292
-
v0.14.0 Changes
Switch from cglib to ByteBuddy
๐ The internal JGiven interception mechanism was changed to use ByteBuddy instead of cglib. The main reason for this change is support for Android (see below). From a users perspective, JGiven should behave as before.
Backwards Incompatible Changes
Spring Integration
In order to fix issue #259 the Spring integration was largely rewritten. If you only had used the
@EnableJGiven
and@JGivenStage
annotations, nothing should change. ๐ง If you had a custom Spring configuration for JGiven you have to change the following:- ๐ The classes
SpringStepMethodInterceptor
andJGivenStageAutoProxyCreator
do not exist anymore, you have to remove all references - ๐ง As a replacement the new class
JGivenBeanFactoryPostProcessor
exists now. You have to register this bean in your Spring configuration
๐ New Features
- ๐ Experimental support for JUnit 5 has been added #277
- ๐ท Tags with the same name, but different packages are now correctly distinguished #242 (thanks to ahus1)
- Scenario states can be marked as required to make scenarios fail quickly and with a clear message if the state hasn't been provided #255 (thanks to Airblader)
- โ Added prefined Spanish JGiven classes for writing JGiven Scenarios in Spanish #284 (thanks to elenagarcia5)
๐ Experimental JUnit 5 Support
JGiven can now be used together with JUnit 5, by using the
JGivenExtension
. Refer to the user guide for additional details. #277๐ Experimental Android Support
โ There is a new experimental module called
jgiven-android
, which enables JGiven support for tests executed on the device or simulator. โ This makes it possible to combine JGiven with Espresso tests and even integrate screenshots in the JGiven report. โ For details of how to setup and use the Android support have a look at thejgiven-android-test
project.๐ Also see #258
Special thanks to orginx
๐ Fixed Issues
- ๐ Spring Integration: Nested Steps are now supported when using Spring #259
- ๐ The classes