Name: [002] Ian Ozsvald
Member: 105 months
Authored: 181 videos
Description: I am the co-founder of ShowMeDo (see http://showmedo.com/about), author of `The Screencasting Handbook <http://thescreencastinghandbook.com>`_ and the founder of the professional screencast production company `ProCasts <http://procasts.co.uk>`_: .. image:: http://procasts.co.uk/media/procasts_sma ...

3 Minute Overview [ID:594] (Free) (1/5)

in series: Robust and Reliable Web Sites with twill and nosetests

(Showmedo is undergoing major changes. To report any problems viewing the videos please email us and include browser and OS specifics. Cheers - Kyran.)

We're going to use twill (installing twill) and nosetests (installing nosetests) to test the behaviour of ShowMeDo.com - you can use the same techniques to add reliable and repeatable tests to your own website.

Repeatable tests help you to avoid errors during the development cycle which helps to reduce the amount of time that humans have to spend repetitively testing the same features in a website.

We check that a page exists, check that another page generates a 404 Not Found error, check and follow a link and finally we manipulate a form to login and confirm that the page changes after the login.

These videos show you the basics you'll need to build your own test suite.

Got any questions?

Get answers in the ShowMeDo Learners Google Group.

Video statistics:

  • Video's rank shown in the most popular listing
  • Video plays: 697 (since July 30th)
  • Plays in last week: 1
  • Published: 78 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.

Your email address will not be published.

Show some quick comments >>








All comments excluding tick-boxed quick-comments

thanks for making this site!! ive only seen one video so far about twill , but i can't wait to watch more. I hope this will be a great resource :)


The javascript search at top right of page doesn't allow queries.

It makes suggestions and then starts back at the beginning of the input field.


Hi Ian. I believe I had missed your reply to my comment. Totally by coincidence, I did a bit of reading last week and came to the conclusion that I needed to use Selenium. It took me a while to figure it out and there are a few things that it cannot do which I thought it should but I am very pleased with it.

I found your reply to my previous comment by doing a search on showmedo looking to see if anyone had done a Selenium video! I think it would be a great addition to the site. When I have time....


Hi André. As noted on the other video I don't think that Crunchy could be tested much by twill as twill doesn't interpret javascript, it just returns the raw html.

It is a pity, but it does mean that twill is super-easy-to-use to test raw html. I think Selenium is what you need, but I've heard that it is much more complex to use.

Ian.


I'll have to see how I can use twill to test Crunchy; if it works, it will greatly increase the reliability of new releases (once the tests are written!...).

If you need another example site as a demo, feel free to use Crunchy ;-)


Video published, thanks for contributing to ShowMeDo


Showmedo is a peer-produced video-tutorials and screencasts site for free and open-source software (FOSS)- with the exception of some club videos, the large majority are free to watch and download.

how to help » about » faq »

Educating the Open-source Community With Showmedo

Although as important as the software it supports, education and documentation are relatively neglected in the Open-source world. Coders love to code, and explaining how best to use or improve the software tends to be deferred or even sidelined.

At Showmedo we believe the community can play a vital role here and also say thanks for the tools and software that make our lives easier. If you have a piece of software you love or a programming langugage you are enthusiastic about, why not make a screencast showing others how to use it? All the stuff you wish you'd been told, the tips, tricks, insights that would have saved you time and frustration.

Screencasting is easier than you think, and we're happy to help you. You can emailus for advice or just use some of the how-to screencasts on the site. This screencasting learning-pathis a good place to start.

Kudos and Thanks for Ian

Content

Feedback

Showmedo's development is fairly rapid and bugs will inevitably creep in. If you have any problems please drop us a line using the contact address below. Likewise, any suggestions for improvements to the site are gratefully received.

feedback@showmedo.com