FuelLabs / FuelLabs/sway

Process receipts emitted from known error signals to print more details for failing sway unit tests

Open
#4,002 0 comments 0 reactions 0 assignees View on GitHub
enhancement forc-test
Dominant language
Rust
Stars
61.4k
Forks
5.4k
Avg merge
3h 33m
Merged PRs (30d)
4

Description

Some known error signals also produce receipts to provide more information like `assert_eq` giving out the values for the non-equal variables detected. We should also add them to have rust's `left : x` but `right: y` like prompts with failing tests with `forc-test`.

related to #3952.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how forc-test processes receipts from known error signals, using the behavior described here and related issue #3952 as context. The work is done when failing Sway unit tests print left and right values for signals such as assert_eq, matching the requested Rust-style details.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers, testing-qa
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.