Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> haskell >> hspec-discover
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: haskell-hspec-discover  ]

套件: hspec-discover (2.7.1-1build1.1)

Automatically discover and run Hspec tests

It is a useful convention to have one spec file for each source file. That way it is straightforward to find the corresponding spec for a given piece of code. But it requires error prone, and neither challenging nor interesting boiler plate code. So it should be automated. Hspec provides a solution for that. It makes creative use of GHC's support for custom preprocessors. The developer only has to create a test driver that contains a single line.

A complete example is at https://github.com/hspec/hspec-example.

其他與 hspec-discover 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: libc6 (>= 2.34)
    GNU C Library: Shared libraries
    同時作為一個虛擬套件由這些套件提供: libc6-udeb
  • dep: libffi8 (>= 3.4)
    Foreign Function Interface library runtime
  • dep: libgmp10
    Multiprecision arithmetic library

下載 hspec-discover

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
amd64 243.0 kB997 kB [文件列表]
arm64 303.7 kB1238 kB [文件列表]
armhf 295.3 kB1022 kB [文件列表]
ppc64el 1,031.2 kB8193 kB [文件列表]