Skip to content

Releases: ppi-ag/deep-sampler

v2.1.0

11 May 15:03
12150ae
Compare
Choose a tag to compare

Highlights

  • Some bugs have been fixed
  • Module refactoring: JSON, as the standard persistence for the recorder, was tied closely to the JUnit-annotations. This was not only a theoretical design flaw (a violation of the separation-of-concern principle), it also prevented the usage of other persistence plugins together with annotation based configuration of JUnit-tests. To solve this, we introduced the new module deepsampler-junit-json. All json-specific annotations have been moved from deepsampler-junit to this new module. (See new dependencies)
  • Custom annotations for loading and recording with custom persistence: The new meta annotations @UseSourceManagerForSaving and @UseSourceManagerForLoading can now be used to create custom annotations for loading and recording samples using custom persistence plugins. See Authoring custom persistence extensions
  • BeanConverterExtension for Optional: Optionals can now be recorded without writing a custom BeanConverterExtension. See OptionalExtension
  • Charset configuration: The new annotation @UseCharset allows to define the charset, that is used during recording and loading of samples

Migration from older versions

New Module

Due to the module refactoring, a new additional dependency must be added:

<dependency>
   <groupId>de.ppi</groupId>
   <artifactId>deepsampler-junit-json</artifactId>
   <version>2.1.0</version>
   <scope>test</scope>
</dependency>

Package refactoring

Also, as a result of the module refactoring, some annotations have been moved to a new package:

  • de.ppi.deepsampler.junit.LoadSamples has been moved to de.ppi.deepsampler.junit.json
  • de.ppi.deepsampler.junit.SaveSamples has been moved to de.ppi.deepsampler.junit.json
  • de.ppi.deepsampler.junit.UseJsonDeserializer has been moved to de.ppi.deepsampler.junit.json
  • de.ppi.deepsampler.junit.UseJsonDeserializers has been moved to de.ppi.deepsampler.junit.json
  • de.ppi.deepsampler.junit.UseJsonSerializer has been moved to de.ppi.deepsampler.junit.json
  • de.ppi.deepsampler.junit.UseJsonSerializers has been moved to de.ppi.deepsampler.junit.json

Details

Update of dependencies

New Contributors

Full Changelog: v1.1.0...v2.1.0

v2.0.0

21 Feb 15:35
a26a2ec
Compare
Choose a tag to compare

Highlights

What's Changed

Full Changelog: v1.1.0...v2.0.0

v1.1.0

02 Mar 18:09
922511f
Compare
Choose a tag to compare
Merge pull request #54 from ppi-ag/feature-scope-execution

Feature scope execution

v1.0.2

18 Dec 14:30
6b673c7
Compare
Choose a tag to compare
  • Fixing bugs
  • Configurable AOP targets

v1.0.1

26 Nov 10:46
39c4bf8
Compare
Choose a tag to compare
  • Using java 8 compile level on all modules now
  • improving code quality

v1.0.0

20 Nov 08:29
c2e9516
Compare
Choose a tag to compare
Update README.md