Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> haskell >> hspec-discover
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: haskell-hspec-discover  ]

软件包: hspec-discover (2.4.4-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.15)
    GNU C Library: Shared libraries
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: libffi6 (>= 3.0.4)
    Foreign Function Interface library runtime
  • dep: libgmp10
    Multiprecision arithmetic library

下载 hspec-discover

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
i386 226.7 kB831 kB [文件列表]