[786] Using Nosetests and Coverage to create robust software (2/3)
in series: Agile Development Tools in Python
video tutorial by percious
Our authors tell us that feedback from you is a big motivator. Please take a few moments to let them know what you think of their work.
Here I take a sample application and show how you can test it using nosetests. I also go into detail about code coverage, and show a working example.
Video Tutorials related by tag:
Got any questions?
Get answers in the ShowMeDo Learners Google Group.
Video statistics:
- Video's rank shown in the most popular listing
- Video plays: 1360 (since July 30th)
- Plays in last week: 8
- Published: 20 months ago
Thank-yous, questions and comments
If this video tutorial was helpful please take some time to say thank-you to the authors for their hard work. Feel free to ask questions. Let the author know why their video tutorial was useful - what are you learning about? Did the video tutorial save you time? Would you like to see more?
You may also want to see our ShowMeDo Google Group to speak to our active users and authors.
Everything here worked the same in Windows.
good pace. interesting topic
Thanks a lot ! More on unittesting with python would be highly appreciated !
( for example: testing webservers , pylons, testing pyqt stuff, etc, where to stop writing tests ,, )
Once again, really helpful tips!
Thanks. I'll give nose a go.
I have done unit testing code coverage in PERL and other languages. I am new to Python. Your example here was excellent.
Thanks,
David McAllister
thanks, useful, epecially the coverage bit
Clear intro to nostest. Very helpful. Thanks.
video 2 and 3 not working for me.
Do they work for others??
very informative ....
Very good job! I'll be using this package in the future!
Nice demo.
Thanks Chris for the videos on nosetests and sphinx/rst! I particularly like knowing about doctest. Just seeing a few of these in "action" helped me get a little further down the line.
Thanks for the video on nosetests. I'm starting to wade into the world of TDD, and this was a helpful tutorial.
Thanks for making the video. I was getting ready to work with coverage for the first time and your video was an excellent tutorial on what ot expect. The @raises decorator part was an unexpected learning. That alone should save me some time. Thanks again, Chris
Thanks a lot!
It was helpful for me.
I think visual quality and volume was enough.
Good job.
It was useful, I was struck up with nose, i think this screencast will give me a move on. Thanks.
Very helpful !
note: "o' in VI might save you some time if you still add line the way you did in this screencast.
Thanks for the tutorial. I was actually trying to find how the hell should I use the 'coverage' plugin (which was fixed by doing easy_install coverage... duh!)
You helped out in getting some of my frustration out of the way.
Thanks again!
great job.... ;)
great job.... ;)
thanks!
it would be nice to have a transcript and/or the source code somewhere. I used the TG2 tutorial
to run similar tests, with "nose" and "coverage".
thanks!
Review of Using Nosetests and Coverage to create robust software
Even with a high-quality monitor, I could not read the text.
A text document with all of the commands you typed in would have been helpful.
Thanks for another useful video!
Thank you for the introduction to nose/coverage!
Review of Using Nosetests and Coverage to create robust software
Awesome production, and the python script looks nice. I still would want to have a more instructional workflow, like try to number the workflow. Sometimes since it is a terminal is hard to know where to focus the attention.
Also would be nice to have let say a label explaining what are you trying to do. But is great production.
More screencasts please...
Review of Using Nosetests and Coverage to create robust software
Awesome stuff...pls bring more :o)
Great screencast. It is good to see more time given to testing, I show nosetests a lot in my Club videos (I think TDD is darn important!).
It is cool to see you use coverage too, I remember the first time I tried it on the ShowMeDo codebase...boy did that take a good few minutes to run and report :-)
Your style (video, zoom etc) is good, that's a nice change to the usual style where you just see the sw in action (my normal style!).
Cheers,
Ian.
wow - fireworks have got to be the screencasters ultimate nightmare - you handled them admirably. With me it's the screaming seagulls fighting outside my window. Another nice screencast - we use nosetests with showmedo but coverage is new to me and looks like a terrific extension. Ta again.
Video published, thanks for contributing to ShowMeDo
Your video has been edited. This is an automatic post by ShowMeDo.






