Robin Pokorny
1 min readNov 21, 2019

--

Thanks for the clarification.

I do not see the complication. Of course, if you add types, you need to type the mocked data and provide appropriate values. But that is true for any structure.

To be honest, I do not see much value in typed unit tests. I believe it is usually not worth the hassle. The value of unit tests of a (typed) file is in something completely different than having the types aligned.

--

--

Robin Pokorny
Robin Pokorny

Written by Robin Pokorny

Architecture & Tech Leadership — Speaks — Loves maths — Reads specs — Podcasts — Lives in Berlin — robinpokorny.com

No responses yet