Add common StrSubject asserts
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- testing
Research direction
Start by locating the StrSubject implementation and its existing string-accessor assertions. Check how current assertions expose values, then add support for startswith, endswith, and actual as described in the issue. Done means these accessors work for StrSubject and the existing test suite covers their behavior.
Written by the indexing model from the issue text.
Description
There's a few accessors that strings have that would make using StrSubject a bit easier:
- startswith
- endswith
Also expose .actual to easily get at the actual value. This makes it easier to massage a string obtained from elsewhere (e.g. target.executable().path().
- 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 3/5 1-2 days Newbie friendliness 45/100
bazelbuild/rules_testing#65 ·
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
bazelbuild/rules_testing#64 · 1 comment ·
All issues in bazelbuild/rules_testing
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100