Join Bruce Van Horn for an in-depth discussion in this video Using the PyCharm test runner, part of Learning Python with PyCharm.
- [Instructor] In the last few videos,…we've managed to fix some fairly insidious bugs.…It would probably behoove us to go ahead…and create some unit tests for our scripts.…PyCharm supports a myriad of unit testing frameworks.…There's even one that's included in Python…right out of the box,…but I'm going to be using Pytest.…This is one of the supported…unit testing frameworks in PyCharm.…It's my personal favorite,…and one of the reasons why I like it so much…is that it doesn't require you to write a bunch of code…to manage your tests, set up frameworks,…and do all of that sort of thing.…
You can literally just write tests…and run them without anything special.…The other nice thing about Pytest…is that it doesn't require you…to create object-oriented code.…So far we haven't written any object-oriented code, really.…We haven't created any classes or anything like that,…and I didn't want that to be a barrier…to entry for what we're about to do next.…Python in general is just fine…with writing object-oriented code,…
AuthorBruce Van Horn
- Installing the PyCharm, Git, and Pypy packages
- Adding functions
- Refactoring code
- Calling packages
- Debugging code
- Creating databases
- Working with in-line SQL
- Creating web projects with PyCharm
Skill Level Beginner
Learning Python and Django (2015)with Caleb Smith1h 11m Intermediate
1. First Steps with PyCharm
2. Code Quality
3. Working with Databases
4. Web Projects
Odds and ends5m 42s
Next steps1m 42s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.