react / react/yoga

Move test infra over to web defaults

Open
#451 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Build and Infrastructure
Dominant language
C++
Stars
18.9k
Forks
1.6k
Avg merge
1m
Merged PRs (30d)
1

Description

Web defaults should be considered the default for all usage of yoga. Due to legacy reasons we cannot move over to this fully but let's try to adopt it where possible. Having the test infra build on top of web defaults also makes it easier to write html test fixtures as you don't have to think about the differences between web and yoga defaults.

Contributor guide

Open the contributing guide

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.

Research direction

Start by locating Yoga's test infrastructure and the code that applies web versus Yoga defaults. Audit where the test setup can use web defaults, accounting for the stated legacy limitations, and verify that HTML test fixtures no longer require callers to handle those differences.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 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.