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

Issues if a test exits before xml is created #87

Open
baraserg opened this issue Oct 5, 2022 · 1 comment
Open

Issues if a test exits before xml is created #87

baraserg opened this issue Oct 5, 2022 · 1 comment

Comments

@baraserg
Copy link

baraserg commented Oct 5, 2022

If for any reason a google test exits with exit(1) or before the test ends, code will still try to read the xml file, but since it doesn't exists a FileNotFound exception is raised.

https://github.com/pytest-dev/pytest-cpp/blob/master/src/pytest_cpp/google.py#L89
https://github.com/pytest-dev/pytest-cpp/blob/master/src/pytest_cpp/google.py#L106

@baraserg
Copy link
Author

baraserg commented Oct 5, 2022

@dajose

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

No branches or pull requests

1 participant