import unittest

__all__ = ["test"]

def test() -> unittest.TextTestRunner:
    loader = unittest.TestLoader()
    tests = loader.discover(start_dir="{pkg}.tests")
    runner = unittest.TextTestRunner()
    result = runner.run(tests)
    return result