|
Size: 1614
Comment: More info about my talk; asking for votes on what to present
|
← Revision 9 as of 2008-11-15 13:59:56 ⇥
Size: 2018
Comment: converted to 1.6 markup
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| This talk is based on one I gave for the the [http://dev.zope.org/Members/tbryan/TriZPUG/FrontPage Triangle Python/Zope User Group] in November 2002. I am extending the content for the PyCon. The original talk covered the following topics: | = Introduction = This page concerns the talk on "Unit Testing in Python" that I gave on March 26 at the PyCon 2003. If you missed the talk, you can view the [[http://starship.python.net/crew/tbryan/UnitTestTalk/|slides on my Starship Python page]]. You may also download the slides from [[ftp://starship.python.net/pub/crew/tbryan/|my Starship ftp directory]]. The slides and code are both available as .tgz and .zip files. I'd appreciate any feedback on the slides or the talk itself. Feel free to hit the Edit Text link and add your comments or questions to the section at the end. For more about me, see my Python wiki page TomBryan. = Vote for the talk you want to see! = This paper was prepared with the ability to support two talks. While all of the content is available in the conference proceedings, I only presented part of the content during my scheduled time slot. = Unit Testing in Python = This talk is based on one I gave for the the [[http://dev.zope.org/Members/tbryan/TriZPUG/FrontPage|Triangle Python/Zope User Group]] in November 2002. I extended the content for the PyCon. The original talk covered the following topics: |
| Line 12: | Line 24: |
| I am cleaning up the existing content and adding more. I'd like to cover some of the more advanced topics, such as |
I cleaned up the existing content and added more. I covered some of the more advanced topics, such as |
| Line 20: | Line 31: |
| I realize that all of this content would be too much to present in the time I have for my talk. I intend to come prepared for two talks. One talk is an introduction to unit testing in general and the basic use of doctest and unittest. The other talk is a quick overview of unit testing and unittest followed by some of the more advanced topics that should help you write unit tests for something more complex than a toy example. If you plan to attend my talk, please add your vote below. Which talk would *you* like to see? | = Feedback from visitors to this page = |
| Line 22: | Line 33: |
| Votes for the intro to unit testing talk * Add your name here Votes for the advanced unittest talk * Or add your name here |
Feel free to add feedback on the talk (how to improve the slides, other resources, etc.) to this section. --Tom |
Introduction
This page concerns the talk on "Unit Testing in Python" that I gave on March 26 at the PyCon 2003. If you missed the talk, you can view the slides on my Starship Python page. You may also download the slides from my Starship ftp directory. The slides and code are both available as .tgz and .zip files.
I'd appreciate any feedback on the slides or the talk itself. Feel free to hit the Edit Text link and add your comments or questions to the section at the end. For more about me, see my Python wiki page TomBryan.
Vote for the talk you want to see!
This paper was prepared with the ability to support two talks. While all of the content is available in the conference proceedings, I only presented part of the content during my scheduled time slot.
Unit Testing in Python
This talk is based on one I gave for the the Triangle Python/Zope User Group in November 2002. I extended the content for the PyCon. The original talk covered the following topics:
- Definition of unit testing
- Why should you unit test?
- What does Python provide for unit testing?
- Simple example of using doctest
- unittest terminology and history
- Simple example with unittest
- Test-driven development with unittest
- Overview of more advanced unit testing issues
- What to expect when you start unit testing
I cleaned up the existing content and added more. I covered some of the more advanced topics, such as
- Refactoring test fixtures beyond the setUp and tearDown methods
- Writing testable code
- Using mock objects
- How to organize and run your tests
- More advanced options in unittest
Feedback from visitors to this page
Feel free to add feedback on the talk (how to improve the slides, other resources, etc.) to this section. --Tom
