screen-locker/stronglift_replacement/workout_app/test/screens
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
..
_history_test_fixtures.dart Split history_screen_test.dart (386) into three 2026-08-15 22:14:16 +02:00
_home_test_fixtures.dart Split home_screen_test.dart (383) into three 2026-08-15 22:16:57 +02:00
_workout_screen_test_fixtures.dart Split workout_screen_test.dart (362) into three 2026-08-15 22:20:56 +02:00
github_mirror_screen_auth_test.dart Split github_mirror_screen_test.dart (470) into four 2026-08-15 21:29:34 +02:00
github_mirror_screen_flow_test.dart Split github_mirror_screen_test.dart (470) into four 2026-08-15 21:29:34 +02:00
github_mirror_screen_push_test.dart Split github_mirror_screen_test.dart (470) into four 2026-08-15 21:29:34 +02:00
github_mirror_screen_test.dart Split github_mirror_screen_test.dart (470) into four 2026-08-15 21:29:34 +02:00
history_chart_test.dart Split history_screen_test.dart (386) into three 2026-08-15 22:14:16 +02:00
history_screen_test.dart Split history_screen_test.dart (386) into three 2026-08-15 22:14:16 +02:00
home_screen_test.dart Split home_screen_test.dart (383) into three 2026-08-15 22:16:57 +02:00
home_sync_card_test.dart Split home_screen_test.dart (383) into three 2026-08-15 22:16:57 +02:00
manual_workout_screen_test.dart Report a failed workout push instead of hiding it in debugPrint 2026-08-09 18:50:48 +02:00
settings_screen_reset_test.dart Split settings_screen_test.dart (480) into four by testWidgets 2026-08-15 21:28:40 +02:00
settings_screen_sync_test.dart Split settings_screen_test.dart (480) into four by testWidgets 2026-08-15 21:28:40 +02:00
settings_screen_test.dart Split settings_screen_test.dart (480) into four by testWidgets 2026-08-15 21:28:40 +02:00
settings_screen_thresholds_test.dart Split settings_screen_test.dart (480) into four by testWidgets 2026-08-15 21:28:40 +02:00
workout_breaks_test.dart Split workout_screen_test.dart (362) into three 2026-08-15 22:20:56 +02:00
workout_screen_test.dart Split workout_screen_test.dart (362) into three 2026-08-15 22:20:56 +02:00