Tag

unit tests

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Apr 10, 2024 · Fundamentals

Using freezegun to Mock and Freeze Time in Python Tests

freezegun is a Python library that lets developers mock and freeze the current time, enabling precise control over time‑dependent code during unit testing, with examples covering basic usage, timezone handling, complex datetime objects, and dynamic time manipulation.

DateTimefreezegunmocking
0 likes · 3 min read
Using freezegun to Mock and Freeze Time in Python Tests
DevOps
DevOps
Dec 30, 2021 · Frontend Development

Rethinking Frontend Testing: Move Away from Implementation‑Detail Focus to Real‑User Behavior

This article explains why front‑end tests that concentrate on implementation details become fragile and time‑consuming, and argues for writing tests that mimic real user interactions using Testing Library, while recognizing that many small functions lack independent business value and should be tested at the UI level instead of as isolated unit tests.

Frontend Testingreact hookstest strategy
0 likes · 9 min read
Rethinking Frontend Testing: Move Away from Implementation‑Detail Focus to Real‑User Behavior
Continuous Delivery 2.0
Continuous Delivery 2.0
Dec 8, 2020 · Operations

Google and Microsoft Automated Testing Practices: Unit Test Levels and DevOps Evolution

The article examines how Google and Microsoft have shaped automated testing across DevOps eras, defining test sizes, responsibilities, and tiered test classifications from unit to large‑scale integration tests to improve productivity, reliability, and release speed.

DevOpsGoogleMicrosoft
0 likes · 10 min read
Google and Microsoft Automated Testing Practices: Unit Test Levels and DevOps Evolution