{"id":19365614,"url":"https://github.com/nikvolf/cargo-gtest","last_synced_at":"2026-05-18T14:10:15.172Z","repository":{"id":200520646,"uuid":"705706383","full_name":"NikVolf/cargo-gtest","owner":"NikVolf","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-28T13:09:15.000Z","size":1214,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-03-28T14:32:25.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/NikVolf.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}},"created_at":"2023-10-16T14:35:23.000Z","updated_at":"2024-04-15T06:22:20.521Z","dependencies_parsed_at":"2024-02-27T18:53:55.165Z","dependency_job_id":"cf49230c-081a-4561-9ffc-93e98594304e","html_url":"https://github.com/NikVolf/cargo-gtest","commit_stats":null,"previous_names":["nikvolf/onchain-tests","nikvolf/cargo-gtest"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NikVolf/cargo-gtest","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fcargo-gtest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fcargo-gtest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fcargo-gtest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fcargo-gtest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikVolf","download_url":"https://codeload.github.com/NikVolf/cargo-gtest/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fcargo-gtest/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33180408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10T07:41:34.318Z","updated_at":"2026-05-18T14:10:15.155Z","avatar_url":"https://github.com/NikVolf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cargo gtest tool\n\nAlong with various tools and libraries to facilitate stability of your Gear programs and any Gear network as a whole. We plan to use this to test for regressions and backward compatibility.\n\n## How to use\n\n#### Install cargo-gtest\n\nFor contracts development (Gear programs) to run on Vara or different Gear protocol powered network, install `cargo-gtest`:\n```\ncargo install --git https://github.com/NikVolf/cargo-gtest\n```\n\nThis will add cargo extension as a drop-in replacement for `cargo test`:\n```\ncargo gtest\n```\n\n(it accepts any parameters as regular `cargo test` does)\n\n#### In your contracts/programs, tests can be declared with a simple decorator:\n\n```rust\n#[gear-test-codegen::test]\nfn some_test() {\n    assert_eq(1, 1)\n}\n\n```\n\n#### Examples\n\nSee `./examplle` in this repository or standalone minimal example at https://github.com/NikVolf/gtest-min.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikvolf%2Fcargo-gtest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikvolf%2Fcargo-gtest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikvolf%2Fcargo-gtest/lists"}