235adce596
- Create Roux.Parser with parseCookFile (splits paragraphs, treats each as a plain-text step, no metadata parsing yet) - Add emptyMetadata to Roux.Types for convenience - Add test dependencies: hspec, tasty-golden, tasty-hspec - Add ParserSpec with 4 tests covering single step, multiple steps, empty input, and whitespace trimming - Wire ParserSpec into test runner via tasty-hspec
16 lines
323 B
Haskell
16 lines
323 B
Haskell
module Main (main) where
|
|
|
|
import Test.Tasty (defaultMain, testGroup)
|
|
import Test.Tasty.Hspec (testSpec)
|
|
|
|
import qualified Roux.ParserSpec
|
|
|
|
main :: IO ()
|
|
main = do
|
|
parserTests <- testSpec "Parser" Roux.ParserSpec.spec
|
|
defaultMain $
|
|
testGroup
|
|
"roux-server"
|
|
[ parserTests
|
|
]
|