Skip to content

[#51] add support for expected failures in nettest

Pinto Pasquale requested to merge pasqu4le/#51-nettest-expected-failures into master

Description

Add support for expected failures to nettest and the implementation for the Pure and Client case. When no failure is expected the only accepted result is a success, when instead it is expected a success is rejected and the resulting failure needs to match the expected one.

NOTE: the possible expected failures have been left deliberately loosely defined. They should be fairly useful and still retain the ability to have more implementations in the future.

Related issue(s)

Resolves #51 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Pinto Pasquale

Merge request reports