Code Smell 204 - Tests Depending on Dates
TL;DR: Tests must be in full control and you can't manage time.
Problems
Fragile Tests
CI/CD Breaks
Solutions
Tests should be always in full environmental control.
Create a time source
Context
I read a Tweet about adding a fixed date to chec...
maximilianocontieri.com2 min read
Rafael dos Santos Miguel Filho
Software Engineer
Great tip!