The scenario

This plugin is designed around the idea that each test is a scenario where some files are written, a type checker is run against those files, and the result is checked.

The entire API the plugin exposed is generic to the pytest_typing_runner.protocols.Scenario such that projects may add additional attributes/methods to the Scenario in their project and create implementations of the other objects that reach out to those extra attributes and methods.

Relevant protocols

The default implementation of these are:

More default implementations