haskell / test-framework

Framework for running and organising QuickCheck test properties and HUnit test cases
http://hackage.haskell.org/package/test-framework
25 stars 22 forks source link

Deprecate in favor of tasty? #62

Open Bodigrim opened 2 years ago

Bodigrim commented 2 years ago

This package is on life support for at least five years and requires regular bumps from Hackage trustees to be compatible with the latest ecosystem. It's only a matter of time when revisions would no longer be enough. I'd like to mark it deprecated in favor of tasty (since migration from test-framework to tasty is mostly a matter of changing imports) to give a clear signal to clients that it's time to move on.

sol commented 2 years ago

For what reason should we specifically recommend tasty over hspec or HTF from a repository that is hosted under the haskell organization?

chessai commented 2 years ago

Right. I don't think we should recommend a single thing, but just deprecate and say "use something else", possibly with a list of alternatives.

sol commented 2 years ago

As long as that list is ordered by popularity I'm fine :rofl:

Bodigrim commented 2 years ago

@sol as I said, that's because "migration from test-framework to tasty is mostly a matter of changing imports". tasty was built as a successor to test-framework, and design decisions are very similar. With all due respect, migrating to hspec requires a complete rewrite, but I don't mind mentioning it as an option.

sol commented 2 years ago

@Bodigrim not putting unnecessary burden on existing users of test-framework makes sense. Here is my perspective:

** Conflict of interests: I'm also the maintainer of hspec, but I've been maintaining HUnit for the last 7 years without biasing it towards hspec in any way.

andreasabel commented 2 years ago

There are tons of dependencies still on this package, see https://packdeps.haskellers.com/reverse/test-framework. So, no to deprecation. I see test-framework as simply a stable package that doesn't get any new features. Users that want new features can be directed to tasty, hspec or any other alternative...