Programming Bootcamp for Scientists #36

Bootcamp
  • 00:00 Testing Demo - What is testing? Why would you want to write tests?

  • 04:36 How do you test your code?

  • 05:20 What is testing?

  • 07:06 Testing tools (testing packages)

  • 07:14 Testing Demo methodology

  • 08:05 AUT - Application Under Test

  • 09:54 Use the module

  • 10:40 doctest

  • 14:40 doctest with failure

  • 18:12 Unittest with success

  • 23:07 Unittest with failure

  • 25:54 pytest using classes

  • 27:30 pytest using classes with failure

  • 28:38 pytest without classes

  • 29:06 pytest run doctest

  • 29:28 pytest run unittest

  • 29:55 Exercise: anagram

  • 31:23 Exercise: Write test for your previous solutions

Author

Gabor Szabo (szabgab)

Gabor Szabo, the author of the Python Maven web site.

Gabor Szabo