[#51] add support for expected failures in nettest
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
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Pinto Pasquale