You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed OpenCensus Python used the Python standard library's unit test framework, while OpenTracing uses pytest. Personally I'd prefer pytest, as it lets you write all your assertions with the assert keyword and you don't have to think about importing & using assertEquals vs assertTrue, etc. On the other hand, the stdlib has the (slight?) advantage of not requiring an additional development dependency.
We should decide for a unit test framework.
The text was updated successfully, but these errors were encountered:
In the meeting on Wed 2019-07-03 we (@c24t, @carlosalberto, @reyang, @Oberon00) decided to start out with the standard library's unit test module. If we find that we are duplicating a lot pytest features ourselves, we might reconsider this decision.
I noticed OpenCensus Python used the Python standard library's unit test framework, while OpenTracing uses pytest. Personally I'd prefer pytest, as it lets you write all your assertions with the
assert
keyword and you don't have to think about importing & usingassertEquals
vsassertTrue
, etc. On the other hand, the stdlib has the (slight?) advantage of not requiring an additional development dependency.We should decide for a unit test framework.
The text was updated successfully, but these errors were encountered: