DEV Community

Discussion on: Test Contravariance - Who Understands It And Can Provide an Example?

Collapse
 
tacsiazuma profile image
Krisztian Papp

You might check this article here: medium.com/@tacsiazuma/the-lost-be...

It focuses on refactoring, but test contra-variance also applied to do it.

Collapse
 
scotthannen profile image
Scott Hannen

Thanks. That does touch on it. What I'd really like, though, is to be beat over the head with it, without a trace of subtlety, and without diluting it by incorporating any other concepts.

When I was getting started (and even now) a big problem was that an article would explain something but make the context so complex that it was difficult to isolate the part I wanted so that I could apply it in another context.

Over time I've gotten better at seeing through that, but I'm still just as likely to just skip to the next article.