Join Medium to view all my articles.

Unit Tests

simbu
3 min readNov 6, 2023

--

I like to write unit tests to improve my code design, make me more confident, speed up feedback loops, provide focus on the coding task, facilitate refactoring and to document what I have done for myself and others.

My preferred approach is to write small pure functions in the language system or core namespaces and test everything else with integration or acceptance tests.

--

--

Family, Friends, Code, Play, Repeat - Between the idea and the reality…Falls the shadow