Shouldly's ShouldMatchApproved() provides a powerful approval testing mechanism that includes scrubbing capabilities to handle dynamic content in your test assertions. This post explores how to leverage scrubbers effectively, including a custom JSON scrubber implementation.
Latest posts
- How to programmatically remove broken media references in Optimizely Commerce when encountering the Media is not found validation error during publishing
- Recent shifts in the .NET ecosystem have seen several popular libraries move towards commercial licenses. I created FOSSED, a resource hub to help developers understand these changes and find free, open-source alternatives
- Unraveling the mystery behind the GetTimestamp property in Optimizely Search & Navigation (Find) and how it actually represents the indexing time, not content creation or modification time
- Learn the correct way to execute code as a specific Optimizely user using user impersonation feature.
- Optimizely does not remove non-code CMS properties by a default - This article describes how to remove obsolete CMS data and introduces yet another the Opti.Addons project.