1
1
mirror of https://github.com/anoma/juvix.git synced 2025-01-05 14:34:03 +03:00

[test] fix tests paths and add stance to package.yaml

This commit is contained in:
Jan Mas Rovira 2022-01-11 10:09:08 +01:00
parent 655f2a3d96
commit d74871d185
4 changed files with 17 additions and 2 deletions

View File

@ -11,3 +11,6 @@ cradle:
- path: "./src/app/Paths_MiniJuvix.hs"
component: "MiniJuvix:exe:MiniJuvix"
- path: "./test"
component: "MiniJuvix:test:MiniJuvix-test"

View File

@ -73,3 +73,12 @@ executables:
source-dirs: src/app
dependencies:
- MiniJuvix
tests:
MiniJuvix-test:
main: Spec.hs
source-dirs: test
dependencies:
- MiniJuvix
- tasty
- tasty-hunit

View File

@ -1,4 +1,4 @@
module Test where
module Parsing.Test where
import MiniJuvix.Parsing.ParserQQ
@ -7,4 +7,4 @@ m =
[mjuvixMod|
module M;
end;
|]
|]

View File

@ -1,4 +1,7 @@
module Main (main) where
import MiniJuvix.Utils.Prelude
import Parsing.Test
main :: IO ()
main = putStrLn ("Test suite is not implemented" :: String)