fediverse-devnet / fediverse-devnet/feditest

Have a feditest.report_problem() or such

Open
#452 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
37
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Common pattern: something is supposed to raise an exception, but does not and continues normally:

```
try:
this_should_raise_exception()

feditest.report_problem('Exception not raised')
except ExpectedException as ex:
...
```

Hamcrest has a construct for this, but it is non-obvious how to use it. This is simpler, but does not prevent anybody from using the Hamcrest construct either.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.