How to Install and Uninstall hspec-discover Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 21,2024

1. Install "hspec-discover" package

Please follow the guidelines below to install hspec-discover on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install hspec-discover

2. Uninstall "hspec-discover" package

This guide let you learn how to uninstall hspec-discover on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove hspec-discover $ sudo apt autoclean && sudo apt autoremove

3. Information about the hspec-discover package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: hspec-discover
Priority: extra
Section: universe/haskell
Installed-Size: 934
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Architecture: amd64
Source: haskell-hspec-discover
Version: 2.2.1-1
Replaces: libghc-hspec-dev (<< 2.1.5)
Depends: libc6 (>= 2.15), libffi6 (>= 3.0.4), libgmp10
Breaks: libghc-hspec-dev (<< 2.1.5)
Filename: pool/universe/h/haskell-hspec-discover/hspec-discover_2.2.1-1_amd64.deb
Size: 214002
MD5sum: 41d9d0500ebc7a49557c403f85565bd1
SHA1: ff5c7ff3c5c0beec7bfbd3d6ca365fd72ff301bc
SHA256: eb97b030e75e5b87d8fec9d0e65f0f55841c6df69954436417de1ec84813843e
Description-en: 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.
Description-md5: 03a0732fdffd89cc37e1ad87dce21d7d
Homepage: http://hspec.github.io/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu