# Hspec Megaparsec

[![License BSD3](https://img.shields.io/badge/license-BSD3-brightgreen.svg)](http://opensource.org/licenses/BSD-3-Clause)
[![Hackage](https://img.shields.io/hackage/v/hspec-megaparsec.svg?style=flat)](https://hackage.haskell.org/package/hspec-megaparsec)
[![Stackage Nightly](http://stackage.org/package/hspec-megaparsec/badge/nightly)](http://stackage.org/nightly/package/hspec-megaparsec)
[![Stackage LTS](http://stackage.org/package/hspec-megaparsec/badge/lts)](http://stackage.org/lts/package/hspec-megaparsec)
![CI](https://github.com/mrkkrp/hspec-megaparsec/workflows/CI/badge.svg?branch=master)

The package is the recommended library for testing
[`Megaparsec`](https://hackage.haskell.org/package/megaparsec) parsers with
with [`Hspec`](https://hackage.haskell.org/package/hspec). As of Megaparsec
5.1.0, its test suite is re-written with Hspec and this package with a few
ad-hoc helpers.

Consult the Haddocks for usage, which should be trivial. Also see test suite
of this package or [Megaparsec test
suite](https://github.com/mrkkrp/megaparsec/tree/master/tests).

## Contribution

Issues, bugs, and questions may be reported in [the GitHub issue tracker for
this project](https://github.com/mrkkrp/hspec-megaparsec/issues).

Pull requests are also welcome.

## License

Copyright © 2016–present Mark Karpov

Distributed under BSD 3 clause license.
