Topics |
- Rapidly Producing Flexible HTML with Django Templates
|
In-Class Activities |
- Review solutions previous week's assignment.
- Discussion: Choosing a unit testing framework for Django
- Group Development: Develop unit tests for the EZU model classes.
|
Required Readings |
- Pinkham Chapter 4 (Rapidly Producing Flexible HTML with Django Templates)
|
Other Resources |
- Layman, M.. (n.d.). Test Your Apps.
- Real Python. (n.d.). Testing in Django (Part 1) – Best Practices and Examples.
- Triplett, J.. (2024). How to test with Django and pytest fixtures in Jeff Triplett's
Micro.blog.
- Myers, G. J., Badgett, T., & Sandler, C. (2012). The art of software testing: Now
covers testing for usability, smartphone apps, and agile development environments
(3. ed). Wiley.
A free electronic copy of this book is available to Illinois students at: https://www.oreilly.com/
- Okken, B. (2022). Python Testing with pytest. Pragmatic Bookshelf.
A free electronic copy of this book is available to Illinois students at: https://www.oreilly.com/
- Percival, H. (2024). Test-Driven Development with Python, 3rd Edition [Early Release].
O’Reilly Media.
A free electronic copy of this book is available to Illinois students at: https://www.oreilly.com/
- Pajankar, A. (2021). Python Unit Test Automation: Automate, organize, and execute
Unit tests in Python. Apress.
A free electronic copy of this book is available to Illinois students at: https://www.oreilly.com/
|
Prep For In‑Class Activities |
- Prepare for Django unit testing discussion and group coding activity
This week, we begin working in our groups to develop unit tests for EZU. Our general
approach is that groups
will be developing unit tests for our last EZU coding assignment. At the conclusion
of the session, we will
compare notes and decide which unit testing approach we like best as a class. In our
following coding assignment,
individual students will get credit for implementing the unit tests that they like
best from the group session
into their EZU project. To get ready for this activity, review the unit testing approach
that was used in Chapter 6
of the Vincent text. Then, do some reading from the resources listed above in Other
Resources. Get some ideas about
how we might get started this week as we work in groups to code unit tests for the
EZU model classes.
|