Supporting material for the "pytest tips and tricks for a better testsuite" training
The provided code is for 3 days of training, so we're not going to use all of
it. If you want to prepare, take a look at rpncalc/
(especially rpn_v2.py
and utils.py
), which is a small example project we'll use in the training.
code/
folder as a projectbasic/test_calc.py
, configure Python interpretercode/
folder as a projectvenv
and requirements.txt
for installationpip install -r code/requirements.txt
python3 --version
(Windows: py -3 --version
), make sure you run 3.8 or newer.pytest --version
, you should see 8.2.x ideally (7.0+ is ok)@thecompiler
on Telegram[email protected]
The-Compiler
on Libera Chat
@the_compiler
on Discord (e.g. Python Discord or PyConDE)