Pytest vs Unittest framework #6412
Closed
guidopetri
started this conversation in
Polls
Replies: 2 comments 1 reply
-
|
@getredash/maintainers , curious to hear your thoughts in particular. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Some background:
I think that full rewrite will probably take too much effort, but a gradual rewrite with guidance of introducing new tests only with pytest makes sense to me. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
We have a sort of mix between
pytestandunittestbeing used in our tests. This isn't ideal (it's a little confusing with all the mocking/patching) and is pretty confusing to a newcomer.The unittest library is a built-in, but is more verbose and class-based / object-based.
The pytest library is an external dependency (though we already use it), and is more straightforward / function-based.
6 votes ·
Beta Was this translation helpful? Give feedback.
All reactions