v2.0.0
Highlights
- Various bugs have been fixed
- Class
Sample
has been split intoSample
andPersistentSample
. In the past, it was possible to mix the configuration of persistent and non-persistent samples, since the fluent-api made no distinction between those two. This often led to hard to solve errors. The new API has now a clear distinction. This also allowed us to add new sanity-checks, so that DeepSampler is now able to detect more errors and throw helpful Exceptions. It is still possible to use persistent and non persistent samples within the same test / SamplerFixture, only the API is now more distinct. See simple example for PersistentSample - JsonSerializer can now be configured using annotations. See Adding custom JsonSerializers and JsonDeserializers to persist data, that cannot be persisted by DeepSampler out of the box
- PersistentBeanExtentions can now be configured using annotations. The API of the extension is also improved. See Adding custom PersistentBeanExtensions to persist data, that cannot be persisted by DeepSampler out of the box)
- Filenames and root-paths can be configured using annotations. See Tweaking filenames and paths
- The generic persistence is much more powerful now. E.g:
- Maps with non-primitive values (non-primitive keys are yet to come, though)
- Collections and Lists with non-primitive values
- Polymorphic interfaces
- Generics are honored. ParameterizedTypes are now accessible from PersistentBeanExtensions.
What's Changed
- Bug order loading by @rcschrg in #59
- Fixes #56: by @rcschrg in #58
- Fixes #60, the bean factory is now able to deserialize/serialize obje… by @rcschrg in #64
- Retest for #60 by @JanSchankin in #65
- New Map extension by @JanSchankin in #67
- New Collection Extension by @JanSchankin in #66
- Feature strict mode by @JanSchankin in #77
- Feature api refactoring Issue #45 by @JanSchankin in #78
- byte[] should be readable in persistent files Issue #72 by @JanSchankin in #73
- Bug sampler fixture issue #61 by @JanSchankin in #79
- Bug verify by @JanSchankin in #80
- Docu with new graphics by @JanSchankin in #84
- Bug add extension not reachable by @JanSchankin in #81
- Polymorphic persistence Issue #70 by @JanSchankin in #83
- 🧽 Cleanup by @JanSchankin in #87
- 🧽 Cleanup by @JanSchankin in #88
- 🌠Feature configurable json path by @JanSchankin in #85
- 🏗️ Preparations for Release 2.0 by @JanSchankin in #82
- 🔬 Additional tests by @JanSchankin in #90
- 🐛-bug-enum-recorder by @JanSchankin in #92
- 🔨 The default PointCut can now be changed by overriding the PointCut … by @JanSchankin in #97
- 🔨 FILE_SYSTEM is now default for LoadSamples by @JanSchankin in #99
- 🌠 Overwritable BeanConverterExtensions by @JanSchankin in #101
- 🔨 If parameter types don't override equals() an exception will be thrown by @JanSchankin in #102
- 🔨 new test for InvalidConfigException during replay by @JanSchankin in #103
- First draft contribution guidelines by @JanSchankin in #95
- 📚 Copyright updated by @JanSchankin in #104
- 🌠 Release 2.0.0 by @JanSchankin in #105
- Release-merge to main by @JanSchankin in #106
Full Changelog: v1.1.0...v2.0.0