-
Notifications
You must be signed in to change notification settings - Fork 27
--memray causes built-in junit-xml results writer to fail #3
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
Comments
thanks for the swift turnaround! I was actually quite keen to try this myself, but didn't manage to make tox run the tests. can you please include some getting started instructions for potential new contributors? I was wondering if the longrepr error message can include more informative output along the lines of:
|
It could, but at the level, this is happening there could be more different markers, so we need some map from the marker to the error template. This can be a fantastic contribution if you are interested.
Oh :( What problems are you experiencing when you ran |
what other markers do you have in mind? I can think of xfail and its custom derivations. Either way, I would be happy to attempt to generate something more informative using the information collected by memray. You might know a certain financial services company that is partial to junit xml test output!
Am I supposed to run tox or is there any other way to run python tests? I only have python3.8 installed on my box, so I wouldn't want to run tox on all environments. |
You can run |
That would be fantastic. We created the plugin as an example of the tooling that can be built with memray (some of the APIs used here are not stable yet, but there will be) so we are super excited to see what the community can come up with :) We don't have any specific new markers in mind at the time as we are focusing currently in fixing existing edges with the profiler directly but I think this is an area where we can greatly improve. Any contribution or idea here is welcomed! |
I opened a prototype PR, would be great to get your thoughts. Thanks again for open sourcing this |
Will try to review this tomorrow. Thanks a lot for your work! |
Bug Report
Current Behavior A clear and concise description of the behavior.
Input Code
put this in a file called
test_memray_marker.py
Expected behavior/code
Running this completes successfully without throwing InternalError - AssertionError
Environment
Additional context/Screenshots
Thanks for the awesome pytest plugin!
The text was updated successfully, but these errors were encountered: