What is your approach to writing unit vs integration vs contract tests?

TechnicalTech lead javaJava Tech LeadSoftware EngineerQA Engineer