Skip to content

Create a method to obtain all the statements called by a test suite #4

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

Closed
Galtvam opened this issue Mar 31, 2022 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@Galtvam
Copy link
Owner

Galtvam commented Mar 31, 2022

No description provided.

@Galtvam Galtvam added the enhancement New feature or request label Mar 31, 2022
@Galtvam Galtvam added this to the First functional version milestone Mar 31, 2022
@Galtvam
Copy link
Owner Author

Galtvam commented Mar 31, 2022

Using the functools lib we can wrap the Pytest hooks pytest_pyfunc_call and pytest_sessionfinish with Tracer to watch the called statements.

@Galtvam
Copy link
Owner Author

Galtvam commented Mar 31, 2022

Here we can find the Pytest calls tree showing the calling order of hooks pytest-dev/pytest#3261 (comment)

@Galtvam
Copy link
Owner Author

Galtvam commented Apr 7, 2022

We already can obtain this information with the current implementation. Further improvements will be placed under #9 or new issues.

@Galtvam Galtvam closed this as completed Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant