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

Package: hspec-discover (2.5.5-1)

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 Package Size Installed Size Files
amd64 233.4 kB1,073.0 kB [list of files]
arm64 293.2 kB1,417.0 kB [list of files]
armhf 262.2 kB1,105.0 kB [list of files]
i386 236.2 kB908.0 kB [list of files]