Automated testing: Difference between revisions
Content added Content deleted
imported>Paulproteus |
imported>Paulproteus No edit summary |
||
Line 103: | Line 103: | ||
your own new test, you can do it that way. |
your own new test, you can do it that way. |
||
=== Mocking |
=== Mocking and patching === |
||
This section is important, but we haven't written it yet. Oops. |
This section is important, but we haven't written it yet. Oops. |
||
=== Testing with Twill, versus the Django test client === |
|||
To make a long story short: |
|||
The Django test client is good at introspecting how the function worked internally. |
|||
Twill tests are good because they let you say "Click on the link called '''log in'''". |
|||
We should write more about this. Maybe you, dear reader, can say some more. |