7. Testing
This tutorial will explain how to write safer, better code that makes you look more professional. That's right - it's time to write tests, for everything you do. Don't worry, it's not boring or complicated, you just need to learn how.
- Introduction
- A brief example
- Types of tests
- Telling stories with doctests
- Running tests
- Writing unit tests
- Testing a Zope 3 component with a separate doctest file
- Writing a PloneTestCase unit/integration test
- Integration doctests using PloneTestCase
- Functional and system tests with zope.testbrowser
- Using zope.testrecorder to record functional tests
- Determining the Code Coverage of your Test Suite
- Testing examples
All content on one page (useful for printing, presentation mode etc.)
