civisanalytics / civis-python

Civis API Python Client
BSD 3-Clause "New" or "Revised" License
34 stars 26 forks source link

Document best practices for testing #306

Closed stephen-hoover closed 2 years ago

stephen-hoover commented 5 years ago

Once you've written code that uses the civis.APIClient, you've got to test it. We should have a page of Sphinx documentation (as a subheader on the "User Guide" page, or its own page if large enough) about how to test code that uses the APIClient. Include examples which both use the APIClient object and higher-level helpers such as the ones in civis.io.

A couple of best practices to mention: