Replies: 1 comment 1 reply
-
Hi @pevogam, I think adding extra features to the Can you provide more details on the variables we should be logging? Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @richtja, @clebergnu, I want to request for some comments regarding the following:
I have isolation tests based on python's
unittest
that I have converted to Avocado tests long ago and run via the Avocado Framework. I recently had a situation where an isolation test took more than an hour to properly debug and could have been significantly faster to debug if theself.assertEqual
I used fromunittest
would have printed more values and variables involved in the assertion. I then investigated thatpytest
offers more verbosity regarding variables in case of failed assertions butunittest
is fairly minimal in that regard. I am aware that Avocado dumps some local variables at the end of the test but I could not see all variables I could have inspected right away there. So in that regard I want to ask what do you think about this comparison? Is there any plan or idea to extend Avocado's assertion methods with more information on the variables involved in each one of them similarly topytest
? Otherwise one would have to wrap the AvocadoTest
class with another just to achieve this and at the very least this could be something offered for all cases of use.Beta Was this translation helpful? Give feedback.
All reactions