Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Testimony do dynamic analysis instead of static analysis #91

Open
elyezer opened this issue Apr 28, 2016 · 1 comment
Open

Make Testimony do dynamic analysis instead of static analysis #91

elyezer opened this issue Apr 28, 2016 · 1 comment

Comments

@elyezer
Copy link
Collaborator

elyezer commented Apr 28, 2016

Currently Testimony leverages the AST Python module in order to capture the docstrings in order to parse them to generate its reports.

Would be great if Testimony actually import the modules and let dynamic things, like Python decorators, to run. This is the same thing Sphinx does to generate documentation and we can leverage it as a library or get some ideas on how to do.

A use case I can think of is test skipping decorators based on open bugs, the decorators can append the @bz tag automatically to the test docstring, making it much easier to maintain the code since the writer will not be required to add it manually.

@sthirugn
Copy link
Contributor

+1 to proposal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants