Getting started with pytest Transcripts
Chapter: Markers
Lecture: Review
Login or
purchase this course
to watch this video and the rest of the course contents.
0:00
In Chapter five, we covered a lot about markers. We looked at the built in markers, skip, skipif, xfail, Xfail with condition.
0:10
And using custom markers, We also learned some new command line flags, '-m' selects markers to run can be combined with and or not in parentheses.
0:21
To fine tune it, markers lists all available markers and strict markers, turns undeclared markers, warnings into errors.
0:31
And there's also '-ra' which reports reasons for non passing test results.
0:37
We also learned how to declare markers within pytest any and we used addopts to
0:44
include command line flags that we always want to use when we're running tests.