Kiểm thử SwiftUI giờ đây đã dễ dàng, sạch sẽ và mạnh mẽ hơn nhiều! Bài viết này hướng dẫn chi tiết về kiểm thử ViewModels, async/await, mocking dịch vụ, dependency injection, navigation, và cả giao diện SwiftUI (UI/Snapshot Testing). Giúp bạn xây dựng ứng dụng ổn định, dễ bảo trì và tin cậy hơn.

#SwiftUI #Testing #UnitTesting #UITesting #SnapshotTesting #iOSDev #Development #Apple
#KiểmThử #PhátTriểnỨngDụng #LậpTrìnhiOS #CôngNghệ #Swift

https://dev.to/sebastienlato/swiftui-testing-unit-ui-asyn

🚀 #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

https://github.com/mkutz/ApproveJ/releases/tag/v1.0

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

#ApproveJ v1.0-RC1 was just released 🎉

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

👉 https://github.com/mkutz/ApproveJ/releases/tag/v1.0-RC1

#approvaltesting #snapshottesting #jvm #java

Release Release v1.0-RC1 · mkutz/ApproveJ

Changelog core 🏗️ several classes (e.g. built-in Scrubber and Replacement implementations) were transformed into interfaces with record implementations 🏗️ the Scrubber and Replacement interfaces a...

GitHub
Release Release v0.12 · mkutz/ApproveJ

⚠️ This release contains a massive amount of API changes and deprecations as this is likely the last release before 1.0. Migration Guide In your src/test/resources/approvej.properties or ~/.confi...

GitHub

🚀 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.

👉 https://github.com/mkutz/ApproveJ/releases/tag/v0.12

#approvaltesting #snapshottesting #java #kotlin

Release Release v0.12 · mkutz/ApproveJ

⚠️ This release contains a massive amount of API changes and deprecations as this is likely the last release before 1.0. Migration Guide In your src/test/resources/approvej.properties or ~/.confi...

GitHub

🚀 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

👉 https://github.com/mkutz/ApproveJ/releases/tag/v0.9.7

#approvaltesting #snapshottesting #java #jvm

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

https://david.gardiner.net.au/2025/07/verify-cli

Built using @simoncropp's Verify library.

#dotnet #Testing #SnapshotTesting #VerifyTests

Snapshot testing .NET code with Verify

An introduction to using Verify for .NET snapshot testing

🚀 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

🎉 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

👉 https://github.com/mkutz/ApproveJ/releases/tag/v0.9.3

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