How to Install and Uninstall hspec-discover Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 18,2024

1. Install "hspec-discover" package

Please follow the step by step instructions below to install hspec-discover on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install hspec-discover

2. Uninstall "hspec-discover" package

Please follow the guidelines below to uninstall hspec-discover on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the hspec-discover package on Ubuntu 20.10 (Groovy Gorilla)

Package: hspec-discover
Architecture: amd64
Version: 2.7.1-1build1
Priority: extra
Section: universe/haskell
Source: haskell-hspec-discover
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Haskell Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 997
Depends: libc6 (>= 2.29), libffi8ubuntu1 (>= 3.4~20200819), libgmp10
Breaks: libghc-hspec-dev (<< 2.1.5)
Replaces: libghc-hspec-dev (<< 2.1.5)
Filename: pool/universe/h/haskell-hspec-discover/hspec-discover_2.7.1-1build1_amd64.deb
Size: 225984
MD5sum: 1ec4a758ab85ad1f706c9833a5693ac4
SHA1: 6a915cc7ba26c4f532b16e3fcefcf7e7316cc4f1
SHA256: 66e0c805373c9cd265372dbc6861a78a95f4efe69814e8016a953a2a21f5ab31
SHA512: 1b93b80b8aeb9fb853490963b59a4fb05c41304319b6aaff800a84a5cb5e4bbc6ba461c64d392e733e72680277e6d45cb06f1c2eb75fc39abad67fbcc0beb203
Homepage: http://hspec.github.io/
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