Skip to content

refactor: consolidate anchor block tests into parameterized test#178

Merged
mmolari merged 1 commit intofix/block_consensusfrom
refactor/pr-176-parameterized-tests
Mar 16, 2026
Merged

refactor: consolidate anchor block tests into parameterized test#178
mmolari merged 1 commit intofix/block_consensusfrom
refactor/pr-176-parameterized-tests

Conversation

@ivan-aksamentov
Copy link
Copy Markdown
Member

Extends #177 by refactoring the three separate anchor block test functions into a single rstest parameterized test.

Benefits:

  • Reduces test code from 148 to 45 lines
  • Table format makes test cases easier to compare
  • Adding new cases requires only one line

All 4 original test cases preserved with identical coverage.

Extends test/pr-176-interval-regression by refactoring the three separate
anchor block test functions into a single rstest parameterized test.

Benefits:
- Reduces test code from 148 to 45 lines
- Table format makes test cases easier to compare
- Adding new cases requires only one line

All 4 original test cases preserved with identical coverage.
Base automatically changed from test/pr-176-interval-regression to fix/block_consensus March 16, 2026 09:37
@mmolari mmolari merged commit d74b314 into fix/block_consensus Mar 16, 2026
19 checks passed
@mmolari mmolari deleted the refactor/pr-176-parameterized-tests branch March 16, 2026 09:38
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.

2 participants