Skip to content

Add initial unit tests for vodka_outputs utilities#32

Open
sandykwl wants to merge 2 commits intosidan-lab:mainfrom
sandykwl:test/vodka-utils
Open

Add initial unit tests for vodka_outputs utilities#32
sandykwl wants to merge 2 commits intosidan-lab:mainfrom
sandykwl:test/vodka-utils

Conversation

@sandykwl
Copy link

This PR adds basic unit test coverage for the vodka_outputs helpers using mocktail transactions. The goal is to contribute to unit tests for vodka utils, which are currently mostly validated empirically.

What’s Included

Unit tests for:

  • outputs_at
  • group_outputs
  • outputs_with_policy
  • outputs_with
  • group_outputs_2

Tests are placed in a separate test file under cocktail/tests. No functional or behavioral changes were made.

Rationale

Issue #6 mentions the need for unit-level tests. This PR is intended as a first step toward broader help with test coverage of vodka utilities, keeping scope small and aligned with current patterns. If this approach is acceptable, I’m happy to extend coverage to additional modules in follow-up PRs.

  • Only additive changes in the form of test code.

Refs #6

Add basic unit coverage for outputs_at, group_outputs,
outputs_with_policy, outputs_with, and group_outputs_2
using mocktail transactions. No behavioral changes.

Refs sidan-lab#6
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