-
Notifications
You must be signed in to change notification settings - Fork 87
Open
Description
The second post of this series on testing includes a few helpful links to Pytest documentation, but unfortunately the pages seem to have moved elsewhere. (I get a "Page not found".) Perhaps the links should be amended.
A couple of examples:
The one on test fixtures:
Click’s testing.CliRunner can invoke the command-line interface from within a test case. Since this is likely to be needed by most test cases in this module, let’s turn it into a test fixture.
conftest.py
The mock_requests_get fixture is now used by two test modules. You could move it to a separate module and import from there, but Pytest offers a more convenient way
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels