Skip to content

test: add governance data endpoint tests and golden examples#687

Merged
linconvidal merged 1 commit intodevelopfrom
test/governance-data-golden-examples
Feb 16, 2026
Merged

test: add governance data endpoint tests and golden examples#687
linconvidal merged 1 commit intodevelopfrom
test/governance-data-golden-examples

Conversation

@linconvidal
Copy link
Member

Add behavioral tests and golden examples for dRepVoteDelegation and poolGovernanceVote operations in data endpoints (/block, /search/transactions, /network/options).

  • 13 behavioral tests validating metadata structure for all 4 drep.type variants (key_hash, script_hash, abstain, no_confidence) and pool vote variants (yes, no), plus multi-vote-per-tx validation
  • 5 data golden examples: 2 block, 2 search, 1 network/options
  • Add governance test data (blocks + tx hashes) to network_test_data.yaml
  • Fix pytest.ini env vars to use D: prefix so CLI overrides work

Add behavioral tests and golden examples for dRepVoteDelegation and
poolGovernanceVote operations in data endpoints (/block, /search/transactions,
/network/options).

- 13 behavioral tests validating metadata structure for all 4 drep.type
  variants (key_hash, script_hash, abstain, no_confidence) and pool vote
  variants (yes, no), plus multi-vote-per-tx validation
- 5 data golden examples: 2 block, 2 search, 1 network/options
- Add governance test data (blocks + tx hashes) to network_test_data.yaml
- Fix pytest.ini env vars to use D: prefix so CLI overrides work
@github-actions
Copy link
Contributor

💥 Preprod Tests: DEPLOYMENT FAILED

🔗 Action Run #194

Tests run against preprod network with live blockchain data

@github-actions
Copy link
Contributor

❌ Preprod Tests: FAILED

📊 View Detailed Test Report

🔗 Action Run #194

Tests run against preprod network with live blockchain data

@github-actions
Copy link
Contributor

✅ Preprod Tests: PASSED

📊 View Detailed Test Report

🔗 Action Run #194

Tests run against preprod network with live blockchain data

@linconvidal linconvidal marked this pull request as ready for review February 13, 2026 14:46
@linconvidal linconvidal moved this from Backlog to In progress in Rosetta Java Kanban Feb 13, 2026
@linconvidal linconvidal merged commit b0927f2 into develop Feb 16, 2026
3 of 5 checks passed
@linconvidal linconvidal deleted the test/governance-data-golden-examples branch February 16, 2026 20:21
@github-project-automation github-project-automation bot moved this from In progress to QA (next release) in Rosetta Java Kanban Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: QA (next release)

Development

Successfully merging this pull request may close these issues.

1 participant