chmp/ipytest

Add support to configure reloads for each ipytest invocation

chmp opened this issue · 0 comments

chmp commented

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.