Writing testable code
The question asks about your experience writing code with unit tests in mind and the philosophy you took from it. Give me the principles you hold to as concrete code-level habits.
Writing testable code
The question asks about your experience writing code with unit tests in mind and the philosophy you took from it. Give me the principles you hold to as concrete code-level habits.
TestingShort answerBasics
This screen leans heavily on an API response. How would you change the code so you can te…
#testability #dependency-injection
TestingShort answerAdvanced
One item the architecture round scores is "can you add unit tests without a big refactor"…
#testability #dependency-injection
ArchitectureShort answerBasics
Dependency Injection and the Dependency Inversion Principle have similar names. What's th…
#testability #dependency-injection
ArchitectureMultiple choiceBasics
In a codebase where a singleton like AnalyticsManager.shared is referenced directly all o…
#testability #dependency-injection