Thoughtworks interview question

How do you convince a developer to write code tests?