Establish DoD Test Gates for Parity Work #506

Closed
opened 2026-02-28 16:54:03 +00:00 by johnny9 · 5 comments
johnny9 commented 2026-02-28 16:54:03 +00:00 (Migrated from github.com)

Summary

Create repeatable test scaffolding so every parity feature can satisfy DoD without ad-hoc test design.

Complexity

  • L

Dependencies

  • 01

Global Constraints

  • All implementation lives under gui-qml/.
  • No GUI runtime dependency on bitcoin/src/qt components. Reused logic must be moved/ported into gui-qml/.
  • Do not change interfaces::Wallet or interfaces::Node in this version.
  • Issue completion must satisfy DefinitionOfDone.md.

Scope

  • Define test matrix per feature type (C++ unit, QML QTest, Python E2E).
  • Add missing testbridge commands/selectors needed for parity flows.
  • Add CI-friendly deterministic test data/setup patterns for wallet + node scenarios.
  • Document feature template for acceptance criteria and required tests.

Acceptance Criteria (DoD-Aligned)

  1. A reusable issue/test template exists and is applied to all issues in this folder.
  2. At least one representative feature from node, wallet, and send/receive domains has full DoD test triad passing.
  3. Automation selectors (objectName) standards are documented and enforced in changed QML files.

Required Tests

  • C++ unit tests: Unit tests for any new automation support utilities.
  • QML QTest: QTest validating critical selectors and state transitions are stable.
  • Python E2E (qml/test/testbridge.h): One end-to-end pipeline run covering success and failure paths for representative flows.

Implementation Notes

  • This issue reduces risk and rework for every downstream parity issue.

Done Criteria for This Issue

  • Create test target for unittesting and qml testing
  • Create python based end-to-end test scripts
  • Representative Node/Wallet/SendReceive E2E scenarios exist and pass in CI.
## Summary Create repeatable test scaffolding so every parity feature can satisfy DoD without ad-hoc test design. ## Complexity - `L` ## Dependencies - `01` ## Global Constraints - All implementation lives under `gui-qml/`. - No GUI runtime dependency on `bitcoin/src/qt` components. Reused logic must be moved/ported into `gui-qml/`. - Do not change `interfaces::Wallet` or `interfaces::Node` in this version. - Issue completion must satisfy `DefinitionOfDone.md`. ## Scope - Define test matrix per feature type (C++ unit, QML QTest, Python E2E). - Add missing testbridge commands/selectors needed for parity flows. - Add CI-friendly deterministic test data/setup patterns for wallet + node scenarios. - Document feature template for acceptance criteria and required tests. ## Acceptance Criteria (DoD-Aligned) 1. A reusable issue/test template exists and is applied to all issues in this folder. 2. At least one representative feature from node, wallet, and send/receive domains has full DoD test triad passing. 3. Automation selectors (`objectName`) standards are documented and enforced in changed QML files. ## Required Tests - C++ unit tests: Unit tests for any new automation support utilities. - QML QTest: QTest validating critical selectors and state transitions are stable. - Python E2E (`qml/test/testbridge.h`): One end-to-end pipeline run covering success and failure paths for representative flows. ## Implementation Notes - This issue reduces risk and rework for every downstream parity issue. ## Done Criteria for This Issue - [x] Create test target for unittesting and qml testing - [x] Create python based end-to-end test scripts - [ ] Representative Node/Wallet/SendReceive E2E scenarios exist and pass in CI.
johnny9 commented 2026-02-28 17:18:38 +00:00 (Migrated from github.com)

C++ unit and qml test framework have been merged in #497. #503 introduces the python end-to-end testing framework.

C++ unit and qml test framework have been merged in #497. #503 introduces the python end-to-end testing framework.
johnny9 commented 2026-05-11 21:26:33 +00:00 (Migrated from github.com)

Final piece is to create a node only qml functional test

Final piece is to create a node only qml functional test
johnny9 commented 2026-05-20 13:56:35 +00:00 (Migrated from github.com)

Decision for the node runtime feedback bundle:

The current branch has stronger C++ unit, QML QTest, and Python functional coverage for the node runtime parity work, but this issue is broader meta-process work.

Implementation guidance:

  • Do not close this issue from feature-specific runtime feedback commits alone.
  • Close it only with a dedicated documentation or automation-template commit that captures the test matrix, selector conventions, and representative Node / Wallet / SendReceive E2E coverage expectations.
  • Feature work in this bundle should continue to use the test triad where appropriate, but that does not by itself satisfy the remaining meta-process acceptance criteria.
Decision for the node runtime feedback bundle: The current branch has stronger C++ unit, QML QTest, and Python functional coverage for the node runtime parity work, but this issue is broader meta-process work. Implementation guidance: - Do not close this issue from feature-specific runtime feedback commits alone. - Close it only with a dedicated documentation or automation-template commit that captures the test matrix, selector conventions, and representative Node / Wallet / SendReceive E2E coverage expectations. - Feature work in this bundle should continue to use the test triad where appropriate, but that does not by itself satisfy the remaining meta-process acceptance criteria.
johnny9 commented 2026-05-20 14:02:15 +00:00 (Migrated from github.com)

Updated decision for the node runtime feedback bundle:

We can consider the intent of this issue satisfied by the current QML automation coverage once the -disablewallet node-only functional test is merged.

Rationale:

  • The QML app now has C++ unit tests, QML QTest coverage, and Python functional tests wired into the GUI functional workflow.
  • qml_test_disablewallet_boot.py gives a representative node-only E2E path that exercises no-wallet routing and navigates the node settings surfaces without wallet UI assumptions.
  • The workflow also includes representative wallet and send/receive E2E coverage, so the remaining intent of the Node / Wallet / SendReceive coverage matrix is covered in practice.
  • New parity features in this bundle have continued using the same pattern: focused model tests, QML consumer tests where appropriate, and targeted functional tests for user-visible routing/state.
Updated decision for the node runtime feedback bundle: We can consider the intent of this issue satisfied by the current QML automation coverage once the `-disablewallet` node-only functional test is merged. Rationale: - The QML app now has C++ unit tests, QML QTest coverage, and Python functional tests wired into the GUI functional workflow. - `qml_test_disablewallet_boot.py` gives a representative node-only E2E path that exercises no-wallet routing and navigates the node settings surfaces without wallet UI assumptions. - The workflow also includes representative wallet and send/receive E2E coverage, so the remaining intent of the Node / Wallet / SendReceive coverage matrix is covered in practice. - New parity features in this bundle have continued using the same pattern: focused model tests, QML consumer tests where appropriate, and targeted functional tests for user-visible routing/state.
johnny9 commented 2026-05-20 14:04:02 +00:00 (Migrated from github.com)

Didn't mean to close. Just wanted to update what I considered to be the heart of this tracking issue.

Didn't mean to close. Just wanted to update what I considered to be the heart of this tracking issue.
Sign in to join this conversation.
No description provided.