attest
attest copied to clipboard
Modern, Pythonic test automation
Konira: ``` python describe "a very simple test case for my_module": it "has a foo property that is False": assert my_module.foo == False ``` I think something similar could be...
Using something like, ``` python dict((os.path.abspath(mod.__file__), name) for name, mod in sys.modules.iteritems() if hasattr(mod, '__file__')) ``` we can map files to modules, and use that to match lines in tracebacks...
Under the test name, possibly replacing any docstring (as the test source includes it), with syntax-highlighting. Might this be useful at all? Not really difficult to locate failing tests, at...
Write tests as reST documents. Inline diffs for failing doctests. Execute code blocks and check for exceptions. Run test documents as part of test suites and build as part of...