Skip to content

test: fix unit test suite discovery, backoff, and wallet asset grouping#3466

Merged
CharlVS merged 1 commit intodevfrom
fix/unit-tests-suite
Mar 28, 2026
Merged

test: fix unit test suite discovery, backoff, and wallet asset grouping#3466
CharlVS merged 1 commit intodevfrom
fix/unit-tests-suite

Conversation

@CharlVS
Copy link
Copy Markdown
Collaborator

@CharlVS CharlVS commented Mar 27, 2026

Summary

  • Rename library-style unit test modules from *_test.dart to *_tests.dart so flutter test test_units/ does not double-run suites that are only meant to be imported from test_units/main.dart.
  • Update test_units/main.dart imports and fix convert_fract_rat expectations for Rational GCD normalization.
  • Align CEX backoff unit and integration tests with the 1-minute default interval; clarify the misleading baseInterval doc comment.
  • Stabilize analytics_test (dispose repository), table_utils_test (BlocProvider harness), and wallet_login_test (unfocus before password bulk assign).
  • Extract asset_ticker_group_sort and wire it into grouped/flat asset lists for consistent ticker grouping.

Verification

  • flutter test test_units/main.dart and flutter test test_units/
  • Targeted integration: update_frequency_backoff_strategy_integration_test.dart
  • flutter analyze on touched paths

- Rename library test modules to *_tests.dart so flutter test test_units/ loads
- Update test_units/main.dart imports; fix fract2rat Rational normalization
- Align backoff unit/integration tests with 1-minute default; doc comment fix
- Analytics tests: dispose repository; table_utils: bloc/repo test harness
- Wallet login test: unfocus before password-manager-style input
- Add asset_ticker_group_sort and use in assets/grouped lists
@github-actions
Copy link
Copy Markdown

Visit the preview URL for this PR (updated for commit 6415bd0):

https://walletrc--pull-3466-merge-0p9etb4k.web.app

(expires Fri, 03 Apr 2026 18:28:07 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc

@CharlVS CharlVS merged commit 7f06143 into dev Mar 28, 2026
6 of 12 checks passed
@CharlVS CharlVS deleted the fix/unit-tests-suite branch March 28, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant