Skip to content

Extend the integration tests to test failure conditions #317

@sanket1729

Description

@sanket1729

In #309, we added integration tests to check descriptor satisfaction logic. We should extend the test_desc_satisfy

pub fn test_desc_satisfy(cl: &Client, testdata: &TestData, desc: &str) -> Witness {
.
to return result. And test misc failure test cases for descriptors.

  • Add tests for testing each fragment of miniscript from bitcoin reference: bitcoin.sipa.be/miniscript. This can be a bit challenging but is a good resource to get started and understand miniscript hands-on.
  • Add tests for failure paths
  • Add tests for various sighash modes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions