Skip to content
SPECIFICTION
Get listed

Hspec vs MSTest

Hspec

hspec.github.io

MSTest

learn.microsoft.com

Side by side

FigureHspecMSTest
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Windows—Yes
macOS—Yes
LinuxYesYes
Plans published11
Spec score · Unit Testing8.0 (#9)7.6 (#18)
Spec score · Unit Testing Frameworks8.1 (#10)7.6 (#23)
PurposeHspec is a testing framework for Haskell.MSTest is a Microsoft-supported, open-source, cross-platform test framework for writing and running tests for .NET applications.
Test controlsRunner options include matching or skipping examples, randomizing execution order, failing fast, rerunning failures, and choosing a formatter.Features include setup and cleanup lifecycle hooks, parallel execution, test categorization and filtering, analyzers, and assertion methods.
Test integrationsHspec integrates with QuickCheck, SmallCheck, and HUnit.It integrates with Visual Studio and Visual Studio Code Test Explorers, the .NET CLI, and CI pipelines.

Plans

Hspec

  • HspecFree

Hspec pricing →

MSTest

  • MSTestFree

MSTest pricing →

In their own words

Hspec

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

Visit hspec.github.io

MSTest

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

Visit learn.microsoft.com