Test Driven Development
- Mock the builtin
openfunctionality when only a selected file return value should be mocked. - Parameterize test case.
- Inject a fixture in a parameterized test:
- It does not matter if you want to declare it as the first parameter or last. pytest knows what it should inject