Skip to content

feat: integration testing in dashboard/ with actual server#4945

Merged
auto-submit[bot] merged 9 commits intoflutter:mainfrom
jtmcdole:adminPanelMq
Feb 12, 2026
Merged

feat: integration testing in dashboard/ with actual server#4945
auto-submit[bot] merged 9 commits intoflutter:mainfrom
jtmcdole:adminPanelMq

Conversation

@jtmcdole
Copy link
Member

This much shows we can run tests against the backend implementation with fakes.

  • new package packages/cocoon_integration_test
  • moved fakes / models / etc to here
  • decoupled app_dart from appengine/mirrors via ClientContext abstraction.
  • implemented IntegrationHttpClient for in-memory client-server communication.
  • added FakeCacheService to avoid test flakiness.
  • added dashboard integration test for test suppression.

Next PR includes changes to defang "dart:io" from app_dart/lib/** so we can run it in the browser with dev_dashboard.

…onment' track

Restored track from archive, completed implementation plan, and fixed imports in app_dart to use new package.
1. Decoupled app_dart from appengine/mirrors via ClientContext abstraction.\n2. Implemented IntegrationHttpClient for in-memory client-server communication.\n3. Added FakeCacheService to avoid test flakiness.\n4. Added dashboard integration test for test suppression.
@jtmcdole jtmcdole requested a review from ievdokdm February 11, 2026 23:37
Copy link
Contributor

@ievdokdm ievdokdm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huge

@jtmcdole jtmcdole added the autosubmit Merge PR when tree becomes green via auto submit App. label Feb 12, 2026
@auto-submit auto-submit bot merged commit da30649 into flutter:main Feb 12, 2026
20 checks passed
ievdokdm pushed a commit to ievdokdm/cocoon that referenced this pull request Feb 12, 2026
)

This much shows we can run tests against the backend implementation with fakes.

* new package `packages/cocoon_integration_test`
* moved fakes / models / etc to here
* decoupled app_dart from appengine/mirrors via ClientContext abstraction.
* implemented IntegrationHttpClient for in-memory client-server communication.
* added FakeCacheService to avoid test flakiness.
* added dashboard integration test for test suppression.

Next PR includes changes to defang "dart:io" from `app_dart/lib/**` so we can run it in the browser with dev_dashboard.
ievdokdm pushed a commit to ievdokdm/cocoon that referenced this pull request Feb 12, 2026
)

This much shows we can run tests against the backend implementation with fakes.

* new package `packages/cocoon_integration_test`
* moved fakes / models / etc to here
* decoupled app_dart from appengine/mirrors via ClientContext abstraction.
* implemented IntegrationHttpClient for in-memory client-server communication.
* added FakeCacheService to avoid test flakiness.
* added dashboard integration test for test suppression.

Next PR includes changes to defang "dart:io" from `app_dart/lib/**` so we can run it in the browser with dev_dashboard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants