Rachel Breeze reflects on her cycling experiences to illustrate the importance of adapting to change in Umbraco development. By unlearning outdated practices and embracing safety nets like monitoring, testing, and community support, developers can confidently explore new challenges and enhance their skills, fostering a more resilient development environment.
Lars-Erik Aabech developed a package to enhance Umbraco's Integration Test library by removing the "database and Umbraco instance" constraint per fixture. This allows for the reuse of seeded database snapshots, significantly reducing setup time for integration tests and improving efficiency in CI pipelines. The package is currently in beta on NuGet.
Dennis discusses his experience automating content scenarios for acceptance testing with Umbraco's management API. He outlines his goals, the tools used (including xUnit and NSubstitute), and the challenges faced, such as the lack of visual regression testing in .NET. Dennis shares insights on his testing setup and encourages readers to explore his GitHub repository for examples.
Dennis discusses the challenges of acceptance testing in Umbraco applications, emphasizing the need for a predictable state to avoid flaky tests. He suggests using the Umbraco management API, introduced in Umbraco 16, to programmatically set up content scenarios. This approach could facilitate reliable acceptance tests, which he plans to explore further.
Dennis shares a comprehensive automated testing setup for Umbraco 16 on GitHub, aimed at facilitating test-driven development. The repository includes a small example website, a unit testing project, and an integration testing project, providing practical examples and encouraging community contributions to enhance testing practices in Umbraco.
In this tutorial, Dennis explains how to conduct integration testing for an Umbraco project using TestContainers and a real SQL Server database. Key steps include setting up Docker, creating a utility for database management, and writing tests for Entity Framework Core and the Umbraco site. The process enhances testing reliability and efficiency.