Start Testing Your Python Code with pytest

preview_player
Показать описание
Testing your code brings a wide variety of benefits. It increases your confidence that the code behaves as you expect and ensures that changes to your code won’t cause regressions. Writing and maintaining tests is hard work, so you should leverage all the tools at your disposal to make it as painless as possible. pytest is one of the best tools you can use to boost your testing productivity.

This is a portion of the complete course, which you can find here:

The rest of the course covers:

- How to provide fixtures for you tests
- How to parameterize your tests
- And even more general testing advice
Рекомендации по теме
Комментарии
Автор

Best explanation ever.
I cannot find the sequel video though…

Barzi
Автор

set up a run configuration for pytest but it gave DeprecationWarning: pkg_resources is deprecated as an API. How to fix?

darcash
Автор

Very cool lib thank you for sharing ! There is a little error at 7:35 btw^^

obed