© Ben Lopatin 2020
B. LopatinDjango Standalone Appshttps://doi.org/10.1007/978-1-4842-5632-9_20

20. Additional Testing

Ben Lopatin1 
(1)
New York, NY, USA
 

Once you have your standalone app successfully tested outside of your project, it might seem like you’re entirely done with testing. However, there’s quite a bit more than you can test for and guard against, which becomes especially important as more people use your app and decide to contribute.

In this chapter, you’ll learn how to test for bugs that aren’t caught by typical unit tests, how to test against multiple versions of Python and Django, and the pytest test framework as an alternative to the Django test runner.

Testing migrations

There are a few aspects of your database migrations that you ...

Get Django Standalone Apps: Learn to Develop Reusable Django Libraries now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.