Maxi Contierimaximilianocontieri.com·Jul 18, 2024Code Smell 259 - Testing with External ResourcesTL;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...Code SmellsGeneral ProgrammingAdd a thoughtful commentNo comments yetBe the first to start the conversation.