I don’t know where you learned engineering but where I work, we test our code. There are no “dark” paths.
98% code coverage over 50+ microservices.