chmp / ipytest

Pytest in IPython notebooks.
MIT License
314 stars 17 forks source link

Add support to configure reloads for each ipytest invocation #120

Closed chmp closed 2 months ago

chmp commented 3 months ago

Allow to specify reloads that are execute with ipytest.run invocation to simplify reloading external tests (see #117). E.g., ipytest.config(force_reload=[a, b, c]) adds a call ipytest.force_reload(a, b, c) to each ipytest.run invocation.

Q: add default to autoconfig (e.g., "test_*.py")? Would be a breaking change and could lead to really confusing bugs, if not expected, by partially reloading a module tree.