Skip to content

Conversation

@dinahmaccodes
Copy link

Description

The changes aim to improve test coverage, ensure correctness, and validate edge cases for the Ownable, Aggregator, Counter, and KillSwitch contracts. Below is a summary of the changes made:

  1. test_ownable.cairo:
  • Added tests to validate the Aggregator contract's functionality
  • Added event emission tests to validate proper event handling
  1. test_aggregator.cairo:
  • Added tests to validate the Aggregator contract's functionality
  • Added event emission tests to validate proper event handling
  • Included negative test cases to handle invalid scenarios, such as unauthorized access and invalid inputs.
  1. test_counter.cairo:
  • Added tests to validate the Counter contract's functionality
  • Added safe dispatcher tests to handle edge cases
  1. test_killswitch.cairo:
  • Added tests to validate the KillSwitch contract's functionality

image

@dinahmaccodes dinahmaccodes changed the title Test dispatcher v2 feat: improve contracts and expand test cases May 12, 2025
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.

3 participants