Text wrapping regression tests

Open
#26,363 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
57/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
game-dev, testing

Research direction

Read the bevy_text tests and the replication examples in issues #26305 and #26351; the issue also links discussion in pull request #26323. Add higher level regression tests that produce and validate text layouts for those wrapping cases. Done means the tests cover the reported regressions and detect their reintroduction.

Written by the indexing model from the issue text.

Description

A-Text C-Feature C-Testing I-Regression S-Ready-For-Implementation

What problem does this solve or what need does it fill?

Because bevy_text lacks sufficient regression tests, some text wrapping bugs were reintroduced.

Discussion here: https://github.com/bevyengine/bevy/pull/26323.

What solution would you like?

Higher level regression tests that produce and validate text layouts based on the replication examples from issues #26305 and #26351.

Dominant language
Rust
Stars
49.8k
Forks
5.1k
Avg merge
3d 4h
Merged PRs (30d)
136

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bevyengine/bevy

All issues in bevyengine/bevy

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.