Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 2.07 KB

readme.rst

File metadata and controls

40 lines (33 loc) · 2.07 KB
https://travis-ci.com/PHPirates/haskell-template-project.svg?branch=master https://coveralls.io/repos/github/PHPirates/haskell-template-project/badge.svg?branch=master

Uses:

  • Haskell, a functional programming language
  • Stack, a build tool which includes dependency and test management
  • Cabal, a build system used by Stack
  • Tasty, a test framework
  • HUnit, a test runner which can be configured by Tasty
  • Travis, a continuous integration service which can build Haskell projects which use Stack
  • Haddock, a tool for generating documentation
  • Coveralls, an online service which shows coverage statistics
  • SHC, Stack HPC Coveralls is a Stack integration which uploads data to Coveralls
  • Intellij-Haskell, which allows to run Haskell and all of the above in IntelliJ. Not required to run this template project.

Instructions to install Haskell and the IntelliJ Haskell plugin at StackOverflow. The test framework Tasty is used, because it seems more recently maintained than 'test-framework'. Another option could have been Hspec. Tasty includes HUnit, made by Hspec.

"Tasty lets you combine your unit tests, golden tests, QuickCheck/SmallCheck properties, and any other types of tests into a single test suite."

Updating dependencies

Check Stackage to see what the latest resolver is, and change that in stack.yml.