- All Stable projects need automated software testing set up via GitHub Actions with a status badge in the README.md
- Software that interacts with the internet should use the vcr or webmockr package for testing whenever possible and appropriate.
- When writing a test suite, you should aspire to as much code coverage as is appropriate, although usually higher code coverage is better. When thinking about code coverage, consider this blog post from Google Engineering Code Coverage Best Practices and the advice of the ancient master Testivus.
- Whenever possible use a well established testing framework like pytest for Python, or testthat for R.