Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Fuzz Tests #200

Open
kingster-will opened this issue Nov 28, 2023 · 0 comments
Open

Adding Fuzz Tests #200

kingster-will opened this issue Nov 28, 2023 · 0 comments

Comments

@kingster-will
Copy link
Contributor

To further enhance the robustness and reliability of our smart contracts, we aim to add fuzz tests. Fuzz testing is a quality assurance technique used to discover coding errors and security loopholes in software. It involves providing invalid, unexpected, or random data as inputs to a computer program, which then gets monitored for exceptions such as crashes, failing built-in code assertions, or potential memory leaks.

We will be using the Foundry fuzz test infrastructure for this task. More details about this can be found in the Foundry Fuzz Testing Guide.

Task

We need to add new fuzz tests that cover major functions in our smart contracts. These tests should provide random data as inputs to our functions and monitor the results.

Please refer to our Engineering Guidelines for specific recommendations on writing tests.

Acceptance Criteria

  • All major functions in our smart contracts are covered by fuzz tests.
  • All tests pass successfully.

Let's ensure our smart contracts are robust and reliable by adding fuzz tests.

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

No branches or pull requests

1 participant