Skip to content

Support for testing libraries #331

@sol

Description

@sol

This is more of a PSA than an actual issue.

@augustss I think a while back, somewhere, I read a comment by you along the lines of "testing libraries are not yet supported" and "the majority of maintainers are somewhere between disinterested and hostile".

  1. For Hspec support, nanospec provides a lightweight implementation of a subset of Hspec's API. If a test suite only relies on things that are provided by nanospec then nanospec can be used as a drop-in replacement for hspec. Maybe as a stopgap measure, you could special case hspec -> nanospec in mcabal.
  2. I'm very happy to accept changes for hspec and nanospec that aid MicroHs.
  3. I'm also happy to accept changes to nanospec that make it more compatible with hspec (as long as (a) things stay lightweight, and (b) everything is kept in a single source file).

As a maintainer I'm definitely not hostile towards MicroHs, and I'm very happy to see more choices in the Haskell ecosystem. I would also love to contribute at some point, but I'm busy for the foreseeable future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions