{"id":18705009,"url":"https://github.com/aave/tests-protocol-v2-sigmaprime","last_synced_at":"2025-10-25T01:34:21.512Z","repository":{"id":97525063,"uuid":"334902294","full_name":"aave/tests-protocol-v2-sigmaprime","owner":"aave","description":"Test suite for the Aave Protocol v2 by SigmaPrime during their audit","archived":false,"fork":false,"pushed_at":"2021-02-01T09:51:44.000Z","size":158,"stargazers_count":7,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-19T17:51:06.450Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-02-01T09:49:57.000Z","updated_at":"2025-04-14T17:52:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"224ef21a-e627-4904-b564-77339c00ca9a","html_url":"https://github.com/aave/tests-protocol-v2-sigmaprime","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aave/tests-protocol-v2-sigmaprime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Ftests-protocol-v2-sigmaprime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Ftests-protocol-v2-sigmaprime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Ftests-protocol-v2-sigmaprime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Ftests-protocol-v2-sigmaprime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aave","download_url":"https://codeload.github.com/aave/tests-protocol-v2-sigmaprime/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aave%2Ftests-protocol-v2-sigmaprime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280893650,"owners_count":26409279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T12:09:25.066Z","updated_at":"2025-10-25T01:34:21.486Z","avatar_url":"https://github.com/aave.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Brownie Tests\n\n## Installing Brownie\n\nBrownie can be installed via\n\n```sh\npip install eth-brownie\n```\n\nAlternatively all required packages can be installed via\n\n```sh\npip install -r requirements.txt\n```\n\n## Running the Tests\n\nTests can be run from the directory `aave-review/tests`\n\n```sh\nbrownie test\n```\n\nNote you can add all the pytest parameters/flags e.g.\n\n* `tests/test_deploy.py`\n* `-s`\n* `-v`\n* `-k \u003ctest_name\u003e`\n\n\n## Initial Setup\n\nThis only needs to be done the first time (or possibly just copy `aave-review/tests` next time).\n\nFrom `aave-review/tests` run\n\n```sh\nbrownie init\n```\n\nMake sure the contracts have been copied to `aave-review/tests/contracts`\n\n\n## Writing tests\n\nThe same as the old `pytest` style. Add a file named `tests_\u003cblah\u003e.py`\nto the folder `aave-review/tests/tests`.\n\nEach individual test case in the file created above must be a function named\n`test_\u003ctest_case\u003e()`.\n\nCheckout the [brownie docs](https://eth-brownie.readthedocs.io/en/stable/tests-pytest-intro.html)\nfor details on the syntax.\n\nNote `print(dir(Object))` is handy way to see available methods for a python object.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faave%2Ftests-protocol-v2-sigmaprime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faave%2Ftests-protocol-v2-sigmaprime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faave%2Ftests-protocol-v2-sigmaprime/lists"}