Effective PyCharm Transcripts
Chapter: Unit testing
Lecture: Introduction to unit testing

Login or purchase this course to watch this video and the rest of the course contents.
0:02 Unit testing and testing in general certainly weren't the pillars of software development and often distinguishes amateur from professional developers,
0:13 so we're going to see that PyCharm has some really fabulous and deep integration with unit testing and related functionality,
0:22 things like code coverage and whatnot. Now before we get started, I want to lead off with two quick thoughts
0:28 one from Steve McConnell who wrote Code Complete, "The problem with quick and dirty is that the dirty remains long after the quick has been forgotten,"
0:38 and an anonymous quote similar to this, "The bitterness of poor quality remains
0:42 long after the sweetness of meeting the schedule that has been forgotten."
0:46 So testing is all about building reliable code, making sure it meets the spec, it helps us know when we're done and don't over design it
0:54 and it helps us provide meaning and import to the continuous integration build,
1:01 honestly in Python what does it really mean for your code to build anyway not very much, so in order to really test Python
1:10 or any other dynamic language you really need to exercise it, and the way you exercise Python in an automated build is through unit test
1:19 so testing is important and we're going to see how PyCharm can do that for us.


Talk Python's Mastodon Michael Kennedy's Mastodon