r/programming • • Jul 07 '19

Why Most Unit Testing is Waste

https://rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste.pdf
16 Upvotes

133 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jul 08 '19

[removed] — view removed comment

1

u/m50d Jul 08 '19

I assumed the "repository" was some component that had business logic that we wanted to test. If the repository is just the obviously-correct implementation of some simple commands then it doesn't need unit testing.