schireson / pytest-mock-resources

Pytest Fixtures that let you actually test against external resource (Postgres, Mongo, Redshift...) dependent code.
https://pytest-mock-resources.readthedocs.io/en/latest/quickstart.html
MIT License
183 stars 19 forks source link

Session fixtures #27

Closed DanCardin closed 5 years ago

DanCardin commented 5 years ago

As an engineer writing tests, most of the time tests on free functions are operating on sessions, not engines. Yielding a session scoped to the test body would be ideal in these cases

oakhan3 commented 5 years ago

Created a ticket: https://schireson.atlassian.net/browse/RUBY-551