What You Need to Know

Python

You don’t need to know a lot of Python. The examples don’t do anything super weird or fancy.

pip

You should use pip to install pytest and pytest plugins. If you want a refresher on pip, check out Appendix 2, pip.

A command line

I wrote this book and captured the example output using bash on a Mac laptop. However, the only commands I use in bash are cd to go to a specific directory, and pytest, of course. Since cd exists in Windows cmd.exe and all unix shells that I know of, all examples should be runnable on whatever terminal-like application you choose to use.

That’s it, really. You don’t need to be a programming expert to start writing automated software tests with pytest.