Elisa Baniassad and Alexander Summers have this great paper Reframing the Liskov Substitution Principle through the Lens of Testing , where they teach LSP as “the superclasses test suite should automatically be runnable, and pass, on the child class.” Go read it, it’s great.

When to prefer inheritance to composition
from Hillel Wayne ✉️