-
Notifications
You must be signed in to change notification settings - Fork 5
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
Enable verbose testing #9
base: ivans-updates
Are you sure you want to change the base?
Conversation
Here's an induced failure showing the verbose results with the non-verbose result format at the bottom. I'm not sure there is any value to including the JSON results along with the verbose results
|
I might add a docstring to run_test() while I'm working on this. |
Interesting work, seems you know more about Does the call |
I haven't actually used it before, but I have used an equivalent in a C# project I was working on for a while, so I'm familiar with unit test reporting and what it looks like.
Unfortunately, |
Change to
core.testing
to allow a choice to get more detailed testing results, using a temporary file to store test results.Calling
core.testing.run_test()
with 'verbosity=` as a parameter will now open a temporary file, redirect the TextTestRunner output to it, and then feed the test results to the log. If no verbosity is supplied, the result is unchanged.Sample testing results before:
Sample test results after: