screen-locker/stronglift_replacement/workout_app/test
Krzysztof kuhy Rudnicki 1e4719b4de Split workout_screen_test.dart (362) into three
Last of the four test files. `_pump`, `_tapReal` and `_longPressReal` were
locals inside `main()`; they and the top-level `_completeSaved` / `_wrap` /
`_exercises` moved into _workout_screen_test_fixtures.dart.

  workout_breaks_test.dart              201  breaks, long-press, finish,
                                             thresholds
  workout_screen_test.dart              141  render, buttons, restore
  _workout_screen_test_fixtures.dart     73  the six hoisted helpers

Two mistakes worth naming, both caught by the test count rather than by a
failing assertion — a file that will not compile reports as
"loading <file>" and silently drops its tests:

- `_exercises` is referenced from a doc comment and a test body, so leaving it
  private in the fixtures broke the load. It is `testExercises` now.
- The first cut landed inside the runAsync explanation comment that sits
  between the last render test and the first interaction test, taking the
  `setUp` closing brace with it. The comment explains why the interaction
  tests need runAsync, so it moved to the breaks file where those tests are.

402 tests pass; name set gains only the new file's reporter lifecycle records.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EveB813BQ8abAP68VSqZ5Y
2026-08-15 22:20:56 +02:00
..
models Split manual_workout_test.dart (350) into three by group 2026-08-15 21:32:58 +02:00
screens Split workout_screen_test.dart (362) into three 2026-08-15 22:20:56 +02:00
services Split progression_sync_service_test.dart (426) into three 2026-08-15 22:12:04 +02:00
ui workout_app: warm-tint the unified-design-system palette 2026-07-22 21:08:45 +02:00
widgets Add sync-status card and duration-threshold fixture 2026-08-15 18:41:31 +02:00
fake_audio_platform.dart Add phone-workout GitHub sync via shared crdt_sync (Workstream C) 2026-07-11 00:06:59 +02:00
fake_secure_storage.dart Add phone-workout GitHub sync via shared crdt_sync (Workstream C) 2026-07-11 00:06:59 +02:00
firebase_backend_google_test.dart workout_app: add Google sign-in support for the Firebase sync account 2026-08-14 10:56:16 +02:00
google_platform_test.dart workout_app: add Google sign-in support for the Firebase sync account 2026-08-14 10:56:16 +02:00
google_platform_web_test.dart workout_app: add Google sign-in support for the Firebase sync account 2026-08-14 10:56:16 +02:00
google_sign_in_backend_test.dart workout_app: add Google sign-in support for the Firebase sync account 2026-08-14 10:56:16 +02:00
widget_test.dart Add sync-status card and duration-threshold fixture 2026-08-15 18:41:31 +02:00