[ffigen] Rewrite `test/README.md` to match current test layout and hooks
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- dart
- Domain
- documentation
Research direction
Read pkgs/ffigen/test/README.md and compare it with the current test layout and hooks described in the issue. Check how hook/build.dart, UPDATE=true verify/golden tests, the C++/ObjC glue rebuild, and the macOS-only tests work. Update the README to cover those details and remove the deleted setup command; done when its instructions match the current test workflow.
Written by the indexing model from the issue text.
Description
pkgs/ffigen/test/README.md is pretty out of date. It still tells contributors to run the deleted dart run test/setup.dart in three places (lines 9, 28, and 43; deleted in #3334 when we moved to hook/build.dart).
It's also missing the current test layout (unit_tests, header_parser_tests, native_cpp_test, native_objc_test, example_tests, large_integration_tests), how UPDATE=true works for verify/golden tests, the two-step C++/ObjC glue rebuild (UPDATE=true updates .cpp/.m files after hook/build.dart already built the dylib, so you need a second dart test), and the 41 @TestOn('mac-os') test files that get skipped on Linux/Windows.
Context: https://github.com/dart-lang/native/issues/3837
Note: This bug is AI generated. I've reviewed it and it makes sense, but I haven't attempted to repro. Make sure the bug repros before trying to fix it.
- Dominant language
- Dart
- Stars
- 280
- Forks
- 166
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 35
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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 dart-lang/native
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
lang-java needs-triage package:jni package:jni_flutter package:jnigen
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
Maintainers usually reply within 2 days
-
needs-triage package:ffigen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 2 days
-
needs-triage package:hooks_runner
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days
All issues in dart-lang/native
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
finamp-app/finamp#1920 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 83/100
Maintainers usually reply within 1 day
-
package:skills
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
act.await-dev-pr co.request d.new-feature dev.flavors e1-hours p2-medium st.blocked t.cli-tools target.web
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
flutter/website#14165 · 1 comment ·
Maintainers usually reply within 1 day