SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Haskell Testing Projects
-
Project mention: Show HN: IHP v1.0 (Batteries-included web framework built on Haskell and Nix) | news.ycombinator.com | 2022-10-24
While of course Haskell has more normal testing infrastructure available (eg. https://hspec.github.io/), my favorite bit of Haskell testing is QuickCheck, which IIUC started life in Haskell and has been reimplemented in other languages with various degrees of effectiveness and various degrees of connection to the original project.
John Hughes (not the filmmaker) gives a great talk about it: https://youtu.be/zi0rHwfiX1Q
-
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
I've had some PRs open on hedgehog for one and two months respectively. It looks like the maintainer isn't currently very active, which is fair enough. This isn't about criticizing him, and I'm not trying to take over the repo.
-
-
Project mention: HSpec, Tasty, sydtest, Hunit, ... -> what do you use for writing Haskell tests? | reddit.com/r/haskell | 2023-01-15
doctest for testing examples in the documentation. Docs are much clearer when they contain usage examples and doctest helps them keep up to date.
-
It looks like that change is on github, but the version wasn't bumped, nor was it pushed to hackage https://github.com/nick8325/quickspec/blob/master/quickspec.cabal Perhaps try using github as the source instead of hackage?
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
Here's a slightly different solution which could work: this Haskell library for Selenium works fine - I've used it. You could navigate to the page using Selenium and whatever supported browser you like (Chrome, Firefox, Edge etc.) and then evaluate a Javascript snippet on the page, via the Selenium API, to retrieve the value you want. One potential advantage of this is it'll work on highly Javascript-dependent pages.
-
I test it using the validity package (which seems to be similar to the more well-known checkers package, but has got more "stars" on GitHub).
-
curl-runnings
A declarative test framework for quickly and easily writing integration tests against JSON API's.
-
Project mention: [ANN] LeanCheck v1.0.0 – Enumerative Property Testing | reddit.com/r/haskell | 2022-08-22
Could you compare with https://hackage.haskell.org/package/smallcheck in particular the smallcheck ability "to verify properties for all test cases up to some depth"?
-
-
A few more:
https://github.com/simonmichael/hledger - Robust, fast, intuitive plain text accounting tool with CLI, TUI and web interfaces
https://github.com/simonmichael/shelltestrunner - Easy, repeatable testing of CLI programs/commands
https://github.com/simonmichael/quickbench - Easily time one or more commands with one or more executables and show tabular results
https://github.com/haskell-game/fungen - A lightweight, cross-platform, OpenGL-based 2D game engine in Haskell
https://haskell-game.dev - a small selection of many games written in Haskell
-
-
-
-
-
-
-
-
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Haskell Testing related posts
- Deriving via type parameters
- HSpec, Tasty, sydtest, Hunit, ... -> what do you use for writing Haskell tests?
- Show HN: IHP v1.0 (Batteries-included web framework built on Haskell and Nix)
- CoSemigroup and random generator transformers?
- Web scraping library
- [ANN] LeanCheck v1.0.0 – Enumerative Property Testing
- Is anyone using quickspec?
-
A note from our sponsor - #<SponsorshipServiceOld:0x00007fea5923e588>
www.saashub.com | 8 Feb 2023
Index
What are some of the best open-source Testing projects in Haskell? This list will help you:
Project | Stars | |
---|---|---|
1 | hspec | 699 |
2 | QuickCheck | 642 |
3 | hedgehog | 638 |
4 | tasty | 586 |
5 | DocTest | 349 |
6 | quickspec | 233 |
7 | async-dejafu | 183 |
8 | webdriver | 180 |
9 | genvalidity | 152 |
10 | curl-runnings | 146 |
11 | smallcheck | 128 |
12 | HUnit | 109 |
13 | shelltestrunner | 96 |
14 | checkers | 80 |
15 | generic-random | 77 |
16 | fitspec | 73 |
17 | monad-mock | 71 |
18 | ghc-prof-flamegraph | 71 |
19 | hspec-wai | 59 |
20 | hedgehog-classes | 56 |
21 | HTF | 48 |
22 | faker | 46 |
23 | type-spec | 46 |