fitspec
DocTest
Our great sponsors
fitspec | DocTest | |
---|---|---|
0 | 3 | |
73 | 362 | |
- | - | |
0.0 | 0.0 | |
3 months ago | 22 days ago | |
Haskell | Haskell | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fitspec
We haven't tracked posts mentioning fitspec yet.
Tracking mentions began in Dec 2020.
DocTest
-
HSpec, Tasty, sydtest, Hunit, ... -> what do you use for writing Haskell tests?
doctest for testing examples in the documentation. Docs are much clearer when they contain usage examples and doctest helps them keep up to date.
-
Why is the debugger so bad in Haskell? (or is it just me)
Try to restrict your types even on sub functions (inside where), use testing, break down your code to the most atomic parts, using ghci to debug each part once at a time, and because Haskell doesn't let you reuse variables, or mutate state, it's a lot easier to rationalize evaluation order (which makes it a lot easier to debug without step debuggers compared to languages like python).
What are some alternatives?
tasty - Modern and extensible testing framework for Haskell
quicktest
http-test - Tests for HTTP APIs
monad-mock - A Haskell package that provides a monad transformer for mocking mtl-style typeclasses
webdriver - A Haskell client for the Selenium WebDriver protocol.
checkers - Check properties on standard classes and data structures
quickcheck-arbitrary-template - Arbitrary QuickCheck instance generation using template haskell
QuickCheck - Automatic testing of Haskell programs.
bdd - A domain-specific language for testing programs using Behavior-Driven Development (BDD) process in Haskell
KSP - KSP calc library
http-mock - HTTP mocking and expectations library for Haskell