home.social

#snapshottesting — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #snapshottesting, aggregated by home.social.

fetched live
  1. 🚀 #ApproveJ 1.2 got released with 3 new modules!

    🆕 http module can be used to approve HTTP requests done by your code!
    Complete with 🖨️ PrintFormat, 🧽 Scrubbers, and a 🥸 HttpStubServer (WireMock also supported)

    🆕 json-/yaml-jackson3 modules support Jackson 3

    ⚠️ all jackson modules no longer provide the Jackson dependencies, but require them to be declared in the project's dependencies

    #approvaltesting #snapshottesting #java #jvm

    github.com/mkutz/ApproveJ/rele

  2. 🚀 #ApproveJ 1.2 got released with 3 new modules!

    🆕 http module can be used to approve HTTP requests done by your code!
    Complete with 🖨️ PrintFormat, 🧽 Scrubbers, and a 🥸 HttpStubServer (WireMock also supported)

    🆕 json-/yaml-jackson3 modules support Jackson 3

    ⚠️ all jackson modules no longer provide the Jackson dependencies, but require them to be declared in the project's dependencies

    #approvaltesting #snapshottesting #java #jvm

    github.com/mkutz/ApproveJ/rele

  3. 🚀 #ApproveJ v.1.1 was released

    🦾 New automatic file reviewer

    🎛️ Short aliases for in configuration
    All configuration values can now also be overwritten via environment variables

    github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #jdk

  4. 🚀 #ApproveJ v.1.1 was released

    🦾 New automatic file reviewer

    🎛️ Short aliases for in configuration
    All configuration values can now also be overwritten via environment variables

    github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #jdk

  5. 🚀 #ApproveJ v1.0 ("ONE-POINT-ZERO") was just released! 🎉🥳🍾

    🧹 all deprecated methods have been removed
    🪲 approving by file is now also possible in parameterized tests
    📖 minor updates in the manual

    github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #kotlin #unittesting #release

  6. 🚀 #ApproveJ v1.0 ("ONE-POINT-ZERO") was just released! 🎉🥳🍾

    🧹 all deprecated methods have been removed
    🪲 approving by file is now also possible in parameterized tests
    📖 minor updates in the manual

    github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #kotlin #unittesting #release

  7. #ApproveJ v1.0-RC1 was just released 🎉

    This release concentrates on internal refactoring and removed deprecated methods and classes.

    👉 github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #jvm #java

  8. #ApproveJ v1.0-RC1 was just released 🎉

    This release concentrates on internal refactoring and removed deprecated methods and classes.

    👉 github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #jvm #java

  9. 🚀 ApproveJ v0.12…1 is here!

    This release contains quite some deprecations in APIs that prepare for the release of v1.0, so please check the migration guide in the release notes.

    Also, v0.12.1 fixes an edge chase bug.

    👉 github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #kotlin

  10. 🚀 ApproveJ v0.12…1 is here!

    This release contains quite some deprecations in APIs that prepare for the release of v1.0, so please check the migration guide in the release notes.

    Also, v0.12.1 fixes an edge chase bug.

    👉 github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #kotlin

  11. 🚀 ApproveJ v0.9.7 was released

    🧽 new strings scrubber allows to scrub known strings
    🧽 new masking replacement turns "Whatever74" into "Aaaaaaaa11"
    🐞 the approval error now has expected and actual in the right order

    👉 github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #jvm

  12. 🚀 ApproveJ v0.9.7 was released

    🧽 new strings scrubber allows to scrub known strings
    🧽 new masking replacement turns "Whatever74" into "Aaaaaaaa11"
    🐞 the approval error now has expected and actual in the right order

    👉 github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #jvm

  13. **Blogged: Verify.Cli - A new command-line tool for performing snapshot testing directly on a file without needing a unit test.**

    david.gardiner.net.au/2025/07/

    Built using @simoncropp's Verify library.

    #dotnet #Testing #SnapshotTesting #VerifyTests

  14. **Blogged: Verify.Cli - A new command-line tool for performing snapshot testing directly on a file without needing a unit test.**

    david.gardiner.net.au/2025/07/

    Built using @simoncropp's Verify library.

    #dotnet #Testing #SnapshotTesting #VerifyTests

  15. 🚀 ApproveJ v0.9.5 is out

    🔁 New Replacement interface can be implemented and used with any RegexScrubber.

    ⚠️ Deprecates relativeDates() Scrubber
    Use DateTimeScrubber.replaceWithRelativeDate() instead.

    #approvaltesting #snapshottesting #java #kotlin #jvm

  16. 🚀 ApproveJ v0.9.5 is out

    🔁 New Replacement interface can be implemented and used with any RegexScrubber.

    ⚠️ Deprecates relativeDates() Scrubber
    Use DateTimeScrubber.replaceWithRelativeDate() instead.

    #approvaltesting #snapshottesting #java #kotlin #jvm

  17. 🎉 ApproveJ v0.9.3 is out!

    📅/🕗 introduces 16 new pre-defined Scrubbers for date/time strings
    🐞 fixes broken parsing if a date/time pattern contained a square bracket within an optional part

    👉 github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #kotlin #testing #jvm

  18. 🎉 ApproveJ v0.9.3 is out!

    📅/🕗 introduces 16 new pre-defined Scrubbers for date/time strings
    🐞 fixes broken parsing if a date/time pattern contained a square bracket within an optional part

    👉 github.com/mkutz/ApproveJ/rele

    #approvaltesting #snapshottesting #java #kotlin #testing #jvm

  19. 🚀 ApproveJ 0.8.6 was just published

    👁️ adds new review mechanism to automatically open a diff/merge tool if needed

    #approvaltesting #snapshottesting #java #kotlin

  20. 🚀 ApproveJ 0.8.6 was just published

    👁️ adds new review mechanism to automatically open a diff/merge tool if needed

    #approvaltesting #snapshottesting #java #kotlin

  21. inline-snapshot 0.22.0 got a new config option. You can skip the updates for now. But if you skip them, please let me know why. I need this information because want to improve the way inline-snapshot generates code in the future.
    github.com/15r10nk/inline-snap

  22. Build bigger in less time: code testing beyond the basics - Predrag Gruevski | EuroRust 2024

    inv.nadeko.net/watch?v=3EFue8P
    (or YT: youtube.com/watch?v=3EFue8PDyi)

    This is easily one of my favorite talks of recent years!

    In their talk @predrag shows us how to ensure quality in our software by explaining different testing techniques that go beyond the basics.

    Teaser:
    What #SnapshotTesting allows you to do will blow your mind! 🤯

    Thank you @predrag ❤️

    #eurorust24 #Rust #RustLang #Testing #SoftwareTesting

  23. Build bigger in less time: code testing beyond the basics - Predrag Gruevski | EuroRust 2024

    inv.nadeko.net/watch?v=3EFue8P
    (or YT: youtube.com/watch?v=3EFue8PDyi)

    This is easily one of my favorite talks of recent years!

    In their talk @predrag shows us how to ensure quality in our software by explaining different testing techniques that go beyond the basics.

    Teaser:
    What #SnapshotTesting allows you to do will blow your mind! 🤯

    Thank you @predrag ❤️

    #eurorust24 #Rust #RustLang #Testing #SoftwareTesting

  24. #Swift #SnapshotTesting

    I’ve suffered from slow snapshot tests with pointfreeco’s swift-snapshot-testing for quite a while. Investigated and isolated the slowness to this loop over the image byte buffers. Takes several seconds on my local machine, and even longer on Xcode Cloud.

    Turns out there is a PR sitting there which is about exactly that, and the fix does work for me. And it also points to an open Swift bug. github.com/pointfreeco/swift-s

  25. #Swift #SnapshotTesting

    I’ve suffered from slow snapshot tests with pointfreeco’s swift-snapshot-testing for quite a while. Investigated and isolated the slowness to this loop over the image byte buffers. Takes several seconds on my local machine, and even longer on Xcode Cloud.

    Turns out there is a PR sitting there which is about exactly that, and the fix does work for me. And it also points to an open Swift bug. github.com/pointfreeco/swift-s

  26. #Swift #SwiftUI #XCTest #SnapshotTesting

    I’m having trouble with Pointfreeco’s snapshot testing. Tests run and complete fine, but there’s a delay at the end of the test process. I can’t figure out where it’s coming from or what causes it. Reduced to a very simple fully reproducible example in my environment.

    Anyone have any ideas?

    github.com/pointfreeco/swift-s

  27. #Swift #XCTest #SnapshotTesting #XcodeCloud

    Point-Free has an excellent snapshot-testing library that lets you unit test your view snapshots (screenshots). It does not work with Xcode Cloud out of the box, because test runner environment in Xcode Cloud does not have access to the source repository, which snapshot-testing assumes by default.

    Here’s my solution for making snapshot-testing work correctly with Xcode Cloud. jaanus.com/snapshot-testing-xc