1
1
mirror of https://github.com/qfpl/applied-fp-course.git synced 2024-12-02 08:53:20 +03:00
applied-fp-course/level07/tests/doctests.hs
Sean Chalmers 59a516d481 Updated DB for more clarity about withTable.
Added doctests and a shout out to what is going on with "$$tablename$$" in the
``withTable`` function.

Updated the level04 tests file to be a bit more defined and provide an example
of a test that Hspec.Wai lets you write. Information was very thin on the ground
in that file so it would have been too difficult without assistance.

Provided a bit more information about cool things that ``ghcid`` can do that I
didn't know about. :D

Fixes #9, #7, #5
2017-10-05 09:18:18 +10:00

11 lines
147 B
Haskell

module Main where
import Test.DocTest (doctest)
main :: IO ()
main = doctest
[ "-isrc"
, "src/FirstApp/Conf.hs"
, "src/FirstApp/DB.hs"
]