Show diff for large objects
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system, testing
Research direction
Start by locating the assertion and error-reporting code in the rules_testing repository; the issue does not name a file or test. Reproduce comparisons involving a large string and a large collection, then verify that failures show a readable diff highlighting differences between expected and actual values.
Written by the indexing model from the issue text.
Description
When large objects are compared, it makes the resulting errors hard to visually see what the differences are. This occurs with both large strings (e.g. generated BUILD file content for repository rule utilties) and large collections (e.g. the argv of a cc link command).
A diff would help draw attention to the parts of the expects vs actual that actually differ.
- Dominant language
- Starlark
- Stars
- 29
- Forks
- 11
- Avg merge
- 15h 15m
- Merged PRs (30d)
- 3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bazelbuild/rules_testing
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
bazelbuild/rules_testing#93 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
bazelbuild/rules_testing#88 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 45/100
bazelbuild/rules_testing#72 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
bazelbuild/rules_testing#71 ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 45/100
bazelbuild/rules_testing#65 ·
All issues in bazelbuild/rules_testing
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
priority: p3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
googleapis/librarian#7636 ·
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
oSoWoSo/vOid_Community_repOsitory#147 · 1 comment ·
-
Builders
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100