Utility functions for testing Megaparsec parsers with Hspec https://github.com/mrkkrp/hspec-megaparsec

Version on this page:[email protected]:2
LTS Haskell 15.14:2.1.0
Stackage Nightly 2020-05-31:2.1.0
Latest on Hackage:2.1.0

See all snapshots hspec-megaparsec appears in

BSD-3-Clause licensed and maintained by Mark Karpov

Module documentation for 0.2.1

This version can be pinned in stack with:[email protected]:6da45ba059597259f057ddbfeb7b852beccd3476a21f7e0e2e68ced36a5668c8,3733

Hspec Megaparsec

License BSD3 Hackage Stackage Nightly Stackage LTS Build Status Coverage Status

The package provides utilities for testing Megaparsec parsers with with Hspec.

Consult Haddocks for usage, which should be trivial. Also see test suite of this package.


Copyright © 2016 Mark Karpov

Distributed under BSD 3 clause license.


Hspec Megaparsec 0.2.1

  • Refreshed obsolete documentation for shouldFailWith and how it reports not matching parse errors.

Hspec Megaparsec 0.2.0

  • This version of hspec-megaparsec should be used with Megaparsec 5.

Hspec Megaparsec 0.1.1

  • Make it pass tests with Megaparsec 4.4.0 and later.

Hspec Megaparsec 0.1.0

  • Initial release.