4 Comments

I resonate with this post a lot, difficulty of testing has been one of the large barriers my team has had in the past couple of years. My team works on data pipelines that integrate datasets from many different sources, and seeding tests is our biggest challenge because the cardinality of edge cases is so high.

I am currently doing some research and testing with a different paradigm of testing, using live statistical validations rather than the very logical and straight forward "this function takes input x and outputs y, validate y is expected". The main problem we are addressing here is generating combinations of inputs is really hard. Would love to chat with you if you have any insights in this field if you get the chance!

Expand full comment

professor, in regards of it has to be easy.. do you have an advice of how to test authentication for apis without duplication. I mean, when we define an api, we add some configuration in that api to inform it can only be accessed by authorized users. So in my tests I have to write a unit test for the authorized and unauthorized case for this api. This goes over and over for every api..

Expand full comment