DEV Community

Discussion on: ELI5: Useful Unit Testing

Collapse
 
deciduously profile image
Ben Lovy

This makes a lot of sense - thus far I haven't attempted a library, these have all been applications, which may explain this difficulty in knowing where to start. I like the rule of thumb of applying mocking judiciously - I do strive for small pure functions where possible and this is a good litmus test to see how you're doing.

Thanks!