testsvm-assertions

Crates.iotestsvm-assertions
lib.rstestsvm-assertions
version0.1.1
created_at2025-09-01 08:26:05.412549+00
updated_at2025-10-15 03:04:02.579492+00
descriptionAssertion helpers for testing transaction results in TestSVM
homepagehttps://github.com/macalinao/testsvm
repositoryhttps://github.com/macalinao/testsvm
max_upload_size
id1819298
size164,945
Ian Macalinao (macalinao)

documentation

https://docs.rs/testsvm-assertions

README

testsvm-assertions

Crates.io Documentation

Assertion helpers for testing transaction results in TestSVM.

This crate provides traits and types for asserting expected transaction outcomes, including methods for verifying that transactions succeed or fail with specific errors. These assertions are particularly useful in test environments where you need to verify that your program behaves correctly under various conditions.

Features

  • Success/Failure Assertions: Verify transactions succeed or fail as expected
  • Error Matching: Check for specific error types including Anchor errors
  • Type-safe API: Compile-time guarantees for assertion chains

License

Copyright (c) 2025 Ian Macalinao. Licensed under the Apache License, Version 2.0.

Commit count: 48

cargo fmt