Select which test to run with Hspec and stack

后端 未结 1 1740
夕颜
夕颜 2021-02-05 13:15

I\'ve written a series of test, using the automatic spec discovery feature of Hspec. I\'m also using stack as my build tool.

My test directory has the the Spec.hs<

1条回答
  •  清歌不尽
    2021-02-05 14:03

    I found the answer here. I was trying with --, however I needed to use --test-arguments:

    stack test --test-arguments "-m "Module0""
    

    0 讨论(0)
提交回复
热议问题