套件:hspec-discover(2.8.5-1) [debports]
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.29)
- GNU C 函式庫:共用函式庫
同時作為一個虛擬套件由這些套件填實: libc6-udeb
-
- dep: libffi8 (>= 3.4)
- Foreign Function Interface library runtime
-
- dep: sgml-base (>= 1.28)
- SGML infrastructure and SGML catalog file support