Skip to content
Sections
>> Trisquel >> Paquets >> nabia >> haskell >> hspec-discover
etiona  ] [  nabia  ] [  aramo  ]
[ Paquet source : haskell-hspec-discover  ]

Paquet : hspec-discover (2.6.1-1build4)

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.

Autres paquets associés à hspec-discover

  • dépendances
  • recommandations
  • suggestions
  • dep: libatomic1 (>= 4.8)
    support library providing __atomic built-in functions
  • dep: libc6 (>= 2.29)
    GNU C Library: Shared libraries
    un paquet virtuel est également fourni par libc6-udeb
  • dep: libffi7 (>= 3.3~20180313)
    Foreign Function Interface library runtime
  • dep: libgmp10
    Multiprecision arithmetic library

Télécharger hspec-discover

Télécharger pour toutes les architectures proposées
Architecture Taille du paquet Espace occupé une fois installé Fichiers
amd64 223,5 ko980 ko [liste des fichiers]
armhf 253,6 ko1018 ko [liste des fichiers]