byexamples / byexamples/byexample
Try to capture the tags even if the example fails as long as it makes sense
- Dominant language
- Python
- Stars
- 67
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the feature you'd like**
If an example fails, non of its named tags capture anything. Then, a subsequent example that *paste* some of those captured tags will fail because there isn't such in the clipboard (#65) or it may produce incorrect outputs (#81).
We could do the same *heuristic* that we do for showing diffs: try to capture as much as possible and if a named tag captures something far enough from an error (a difference between the expected and the got) we could consider it valid.
We already do this for showing the diffs; we could do it to improve the *paste* mode and reduce the impact of #65 .
**Additional context (optional)**
Probably this should be done in parallel with #81 and the #65 should be reviewed after this.
Contributor guide
Assessment
This issue has not been assessed yet.