karun012 / arion

MIT License
46 stars 7 forks source link

Support for Tasty/HTF #6

Open cies opened 9 years ago

cies commented 9 years ago

Tasty facilitates many1 of Haskell's testing libs, and unifies their interface (commandline options and output). Maybe Arion could support Tasty? An other unifying approach is HTF2.

karun012 commented 9 years ago

I see two options for supporting Tasty/HTF.

As a mode:

arion <folder-to-watch> <source folder> <test folder> -tasty

As a separate executable:

arion-tasty <folder-to-watch> <source folder> <test folder>

IMHO the first one would be better. What are your thoughts?

cies commented 9 years ago

Tasty seems to be more maintained then HTF.

Maybe Tasty could be detected, because it is unlikely that you will use another tool besides it. So in case Arion finds out it is doing Tasty, it simply does Tasty without further questions.

karun012 commented 9 years ago

@cies I'll take a look at it soon.

cies commented 9 years ago

A thread on Reddit about test frameworks:

https://www.reddit.com/r/haskell/comments/38xyrc/current_state_of_testing_frameworks/