Skip to content

1.7.0: Automatic test module detection

Compare
Choose a tag to compare
@connordelacruz connordelacruz released this 08 Aug 18:49
· 399 commits to develop since this release

<test_package>.tests.__init__ now autodetects test modules, so manual importing is no longer required.

Details

  • Template __init__.py file now detects and imports submodules automagically (based on this blog post. No need to import new tests every time a new one is added
  • test_loader ignores <test_package>.tests.pkgutil if present while loading test modules.