Skip to content
SPECIFICTION
Get listed

Hspec vs Mockito

Hspec

hspec.github.io

Mockito

site.mockito.org

Side by side

FigureHspecMockito
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
LinuxYesYes
Android—Yes
Self-hosted—Yes
Plans published11
Spec score · Unit Testing Frameworks8.1 (#10)8.1 (#11)
DistributionThe Hspec package is available as a Cabal source package from Hackage.The recommended installation method is adding the mockito-core dependency through a build system.
LicenseThe GitHub repository identifies the project license as MIT.The repository publishes Mockito under the MIT License.
PurposeHspec is a testing framework for Haskell.Mockito is a mocking framework for writing unit tests in Java.

Plans

Hspec

  • HspecFree

Hspec pricing →

Mockito

  • MockitoFree

Mockito pricing →

In their own words

Hspec

Hspec has no write-up on Specifiction yet; its figures are above.

Visit hspec.github.io

Mockito

Mockito has no write-up on Specifiction yet; its figures are above.

Visit site.mockito.org