Teach testing first
There is a well-know testing pyramid that visualizes the effort required for writing tests as one goes higher up. As the title suggests, the premise really is: "Why isn't programming taught with a focus on testing first?" and "Will a focus on testing broaden the tip of the pyramid to make fully automated end-to-end integration testing easier?"
smalldata.tech