Code Smell 259 - Testing with External Resources
TL;DR: Tests must be in full control.
Problems
Unreliable tests
Difficult debugging
Unexpected changes
Coupling to External dependencies
Mistery Guests
Flaky tests
Slowness
Solutions
Generate the file in the test
Mock it
Use hardcoded st...
maximilianocontieri.com2 min read