all options
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: haskell-hspec-discover  ]

Package: hspec-discover (2.11.9-1 and others)

Links for hspec-discover

Screenshot

Debian Resources:

Download Source Package haskell-hspec-discover:

Maintainers:

External Resources:

Similar packages:

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.

Other Packages Related to hspec-discover

  • depends
  • recommends
  • suggests
  • enhances

Download hspec-discover

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 2.11.9-1 2,584.2 kB25,299.0 kB [list of files]
amd64 2.11.9-1 1,507.2 kB11,386.0 kB [list of files]
arm64 2.11.9-1 1,474.8 kB12,564.0 kB [list of files]
armel 2.11.9-1 2,080.2 kB14,029.0 kB [list of files]
armhf 2.11.9-1 2,105.8 kB14,009.0 kB [list of files]
hppa (unofficial port) 2.11.9-1 2,330.8 kB23,363.0 kB [list of files]
i386 2.11.9-1 2,139.3 kB17,380.0 kB [list of files]
ia64 (unofficial port) 2.10.10-1 1,777.2 kB44,414.0 kB [list of files]
m68k (unofficial port) 2.8.5-1 900.4 kB7,725.0 kB [list of files]
mips64el 2.11.9-1 2,252.0 kB22,295.0 kB [list of files]
ppc64 (unofficial port) 2.11.9-1 1,489.7 kB20,098.0 kB [list of files]
ppc64el 2.11.9-1 1,487.6 kB16,958.0 kB [list of files]
riscv64 2.11.9-1 1,957.1 kB13,911.0 kB [list of files]
s390x 2.11.9-1 2,847.8 kB22,678.0 kB [list of files]
sh4 (unofficial port) 2.8.5-1 981.1 kB8,647.0 kB [list of files]
sparc64 (unofficial port) 2.11.9-1 1,991.7 kB31,563.0 kB [list of files]
x32 (unofficial port) 2.8.5-1 2,234.0 kB8,803.0 kB [list of files]