Feat/comprehensive test coverage#341
Open
orsinibear wants to merge 61 commits intoJagadeeshftw:devfrom
Open
Conversation
…ps://github.com/Jayrodri088/grainlify into frontend/fetch-project-leaderboard-from-backend
…board-from-backend
…ps://github.com/Jayrodri088/grainlify into frontend/fetch-project-leaderboard-from-backend
….com/Jayrodri088/grainlify into frontend/mobile-responsive-data-page
…ps://github.com/Jayrodri088/grainlify into frontend/fetch-project-leaderboard-from-backend
…ps://github.com/Jayrodri088/grainlify into frontend/fetch-project-leaderboard-from-backend
….com/Jayrodri088/grainlify into frontend/mobile-responsive-data-page
…ge with project filter
…ge with project filter
….com/Jayrodri088/grainlify into frontend/mobile-responsive-data-page
…responsive-data-page frontend: mobile responsiveness for data page
…ps://github.com/Jayrodri088/grainlify into frontend/fetch-project-leaderboard-from-backend
feat: add navigation from project profile Issues section to Issues page with project filter
Add support for daily, weekly, quarterly, and yearly intervals in the contributor activity chart on the data page. Update authentication context to handle mock auth scenarios.
…ibutor activity chart dropdown
…ctivity-interval-filtering Fix/contributor activity interval filtering
…support Issue 150: Feat/partial payout support
…ple-languages-project-cards feat: display multiple languages used in projects on project cards
…figuration feat: admin configuration functions
|
@orsinibear is attempting to deploy a commit to the Jagadeesh B's projects Team on Vercel. A member of the Team first needs to authorize it. |
Owner
|
Please remove the changes from the backend and frontend. |
Removed the projects leaderboard endpoint from the API.
Author
PR is linked to #159 - Add Comprehensive Test Coverage and Fuzzing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds comprehensive test coverage and fuzzing to the bounty escrow and program escrow contracts, achieving >90% code coverage and addressing security validation needs.
Closes #159
Summary of Changes
Bounty Escrow (
contracts/bounty_escrow/contracts/escrow/)i128::MAXamounts and boundary deadlinesproptestProgram Escrow (
contracts/program-escrow/)proptestfuzzing forlock_program_fundspub(crate)visibility to monitoring functions for testabilityConfiguration
proptestto[dev-dependencies]inCargo.toml.gitignoreto excluded test_snapshots/test_bounty_escrow/ and /test_snapshots/tests_external/`Test Coverage Results
Before:
After:
Testing Performed
Files Changed
New Test Modules
contracts/bounty_escrow/contracts/escrow/src/test_edge_cases.rs(new)contracts/bounty_escrow/contracts/escrow/src/test_fuzz.rs(new)Modified Files
contracts/bounty_escrow/contracts/escrow/src/test_bounty_escrow.rs(extended)contracts/program-escrow/src/test.rs(extended)contracts/program-escrow/src/lib.rs(added pub(crate) for testing)contracts/bounty_escrow/Cargo.toml(added proptest dev-dependency)contracts/program-escrow/Cargo.toml(added proptest dev-dependency).gitignore(excluded test_snapshots/test_bounty_escrow/ and /test_snapshots/tests_external/)Breaking Changes
None - all existing functionality is preserved.
Checklist
How to Review
Screenshots
Additional Notes
cargo test.gitignorelib.rsusepub(crate)to maintain encapsulation while enabling testing