Here are some interesting considerations (do you agree on all of them?) about coding AND testing, with additional links to books and/or articles every good boy (read: every engineer) should read:
https://opensource.com/article/17/5/30-best-practices-software-development-and-testing