part four

Part 4 Testing and deploying apps

 

You’ve built your app and even given it smarts. Now comes the final step: making it robust. In this part, we’ll show you what it takes to produce a Streamlit app by testing it thoroughly and deploying it professionally.

Chapter 11 focuses on testing: you’ll use pytest to write unit tests, test different parts of your app in combination, and test entire flows from end to end. You’ll also explore Streamlit’s testing utilities to validate frontend interactions. Chapter 12 moves to deployment beyond the free Streamlit Community Cloud: you’ll learn how to package your app with Docker, deploy it to AWS, and secure it with a custom domain and HTTPS.

These final chapters are about long-term success. They’ll help ensure that your app works today and will continue to work tomorrow.