-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs #10
Comments
https://www.youtube.com/watch?v=PGsDvgmZF7A test a function with tasty. get test cases from a file using IO |
https://wiki.haskell.org/How_to_write_a_Haskell_program You can use QuickCheck or SmallCheck to test pure code. These libraries work best when you have known invariants in your code's behavior. See this Cabal file for an example of how to include tests in your Cabal package. To get started, try Introduction to QuickCheck. For a slightly more advanced introduction, Simple Unit Testing in Haskell is a blog article about creating a testing framework for QuickCheck using some Template Haskell. For HUnit, see HUnit 1.0 User's Guide doctest is another testing method similar to python Doctest N.B.
|
https://devtut.github.io/haskell/testing-with-tasty.html#smallcheck-quickcheck-and-hunit
https://www.cs.bu.edu/fac/snyder/cs320/Lectures/Testing.pdf
http://book.realworldhaskell.org/read/testing-and-quality-assurance.html
https://stackoverflow.com/questions/20331209/haskell-unit-testing
https://hspec.github.io/
https://input-output-hk.github.io/haskell.nix/tutorials/getting-started-flakes
https://discourse.nixos.org/t/writing-test-with-nix-and-flakes/11866
https://www.tweag.io/blog/2022-09-01-unit-test-your-nix-code/
https://nixos.wiki/wiki/NixOS_Testing_library (edited)
https://hackage.haskell.org/package/tasty
https://hackage.haskell.org/package/HUnit
https://hspec.github.io/
The text was updated successfully, but these errors were encountered: