Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: diffplug/selfie

Tags

jvm/3.0.0

Toggle jvm/3.0.0's commit message

### Changed
- **BREAKING** Bumped Kotest from `5.x` to `6.x`. If you need Kotest `5.x` compatibility, stick with `2.5.5`. ([#559](#559))
  - This breaking change only affects Kotest users.
  - As part of the Kotest `6.x` migration, your `AbstractProjectConfig` must either have the fully qualified name of `io.kotest.provided.ProjectConfig` or the system property `kotest.framework.config.fqn` must be set. See [Kotest docs](https://kotest.io/docs/framework/project-config.html) for more info.
  - The breaking changes are only within `selfie-runner-kotest`. So if you are stuck on Kotest `5.x` but want some feature or bugfix only available in a `3.x` version of Selfie, you can probably get it by grabbing the latest Selfie but using `2.5.5` for the `selfie-runner-kotest` artifact. But in the long-term, we recommend using the latest supported version of all dependencies.

jvm/2.5.5

Toggle jvm/2.5.5's commit message

### Fixed
- `SnapshotFileLayout` now computes root folder lazily. ([#557](#557) partial fix for [#551](#551))
  - Allows parallel Maven execution with surefire and failsafe plugins with `forkCount` greater than one, but it only works if `reuseForks` set to `false`.

jvm/2.5.4

Toggle jvm/2.5.4's commit message

### Fixed
- Unsupported test sources (such as `FieldSource`) no longer cause the JUnit5 runner to crash. ([#550](#550) fixes [#549](#549))
### Changed
- Bump minimum required Kotest from `5.4.0` to `5.6.0` ([#535](#535))
  - required to fix `java.lang.NoSuchMethodError: 'long kotlin.time.Duration$Companion.milliseconds-UwyO8pc(long)'`

jvm/2.5.3

Toggle jvm/2.5.3's commit message
v2.5.3

### Fixed
- Restore support for JRE 11. (fixes [#528](#528))
- snapshots created by `junit.jupiter.api.TestFactory` are no longer garbage-collected (#534)
- support parallel testing under `junit.jupiter.execution.parallel.enabled=true` (#534)

jvm/2.5.2

Toggle jvm/2.5.2's commit message
v2.5.2

### Fixed
- Off-by-one in the error message for a VCR key mismatch. ([#526](#526))
- Fix `StringIndexOutOfBoundsException` when an empty snapshot had a facet added. (fixes [#529](#529))
- Fix `ClassCastException` when multiple nested test cases need to update snapshot. (fixes [#531](#531))

jvm/2.5.1

Toggle jvm/2.5.1's commit message
v2.5.1

### Fixed
- Selfie VCR is now out of beta, no opt-in required. ([#525](#525))
  - ArrayMap now sorts strings with multi-digit numbers as `1 2 ... 9 10 11` instead of `1 11 2 ...`.
  - Improved VCR-specific error messages for determining why `//selfieonce` might not be working for a test rule.
  - Fixed some bugs in VCR data storage (specifically concurrency and multiple frames).

jvm/2.5.0

Toggle jvm/2.5.0's commit message
v2.5.0

### Added
- Added an entrypoint `Selfie.vcrTestLocator()` for the new `VcrSelfie` class for snapshotting and replaying network traffic. ([#517](https://github.com/diffplug/selfie/pull/517/files))
### Fixed
- Fixed a bug when saving facets containing keys with the `]` character ([#518](#518))

jvm/2.4.2

Toggle jvm/2.4.2's commit message
v2.4.2

### Fixed
- A single leading space (such as in the copyright header) should not override an otherwise 100% tab-indented file. ([#506](#506))

python/1.0.0

Toggle python/1.0.0's commit message
pytest-selfie - uv lock

jvm/2.4.1

Toggle jvm/2.4.1's commit message
v2.4.1

### Fixed
- Multiline `toBe` assertions (introduced in `2.1.0` for Java pre-15) were not throwing exceptions on snapshot mismatch, now fixed. ([#479](#479))