Open litleleprikon opened 5 years ago
I checked 3 random projects and they all use testify 😄
@titusjaka I do not think that "everyone is using testify" is a valuable reason to remove Convey. As for now we have a situation in which our tests are not using Convey in correct way. On the other hand removing the Convey is a long and hard task. We want to define the easiest way to make our tests better and quicker. Can you provide another disadvantages of Convey that allow us to decide to remove Convey?
IMHO Convey also is not intended to use in benchmarks and table-driven tests. We have a table-driven tests that use convey and this way of testing is much slower.
@titusjaka assume that today somebody released a supercool new testing library that is 100× better than testify. Imagine that you came to Helm or Consul repo and created an issue telling them to drop testify and migrate all their tests to supercool. What kind of response would you get?
Talk is cheap. Migrating all our tests to another testing library is a considerable effort. "All the cool guys use it" is not a valid argument.
Frankly speaking, I did not mean to switch from convey to testify just to change one lib for another. I suggested to use it as a good gateway for Open-Source newbies, who wants to start contributing but don't have enough time for huge issues.
In my opinion in Moira project convey tests are used in wrong and inconvenient way. I propose to discuss the perspective to remove Convey tests and rewrite tests using default
testing.T
.Previous discussion:
Originally posted by @beevee in https://github.com/moira-alert/moira/pull/452
Originally posted by @litleleprikon in https://github.com/moira-alert/moira/pull/452
Originally posted by @beevee in https://github.com/moira-alert/moira/pull/452
Originally posted by @litleleprikon in https://github.com/moira-alert/moira/pull/452
Originally posted by @beevee in https://github.com/moira-alert/moira/pull/452
Originally posted by @litleleprikon in https://github.com/moira-alert/moira/pull/452