{"id":16578957,"url":"https://github.com/fritx/mixed-playground","last_synced_at":"2026-04-21T13:32:55.561Z","repository":{"id":227245297,"uuid":"759772632","full_name":"fritx/mixed-playground","owner":"fritx","description":"Test-driven doing LeetCode in Go, Python, Rust, Java and even Solidity!","archived":false,"fork":false,"pushed_at":"2024-04-10T09:30:53.000Z","size":2230,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-10T10:38:26.998Z","etag":null,"topics":["leetcode","solidity","testing"],"latest_commit_sha":null,"homepage":"","language":"Go","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/fritx.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":"2024-02-19T10:01:12.000Z","updated_at":"2024-04-15T07:26:01.152Z","dependencies_parsed_at":"2024-03-12T11:27:27.711Z","dependency_job_id":"687a424e-7466-4a34-a428-55b6acd1eb88","html_url":"https://github.com/fritx/mixed-playground","commit_stats":null,"previous_names":["fritx/mixed-playground"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fritx/mixed-playground","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmixed-playground","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmixed-playground/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmixed-playground/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmixed-playground/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fritx","download_url":"https://codeload.github.com/fritx/mixed-playground/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fritx%2Fmixed-playground/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32094481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T11:25:29.218Z","status":"ssl_error","status_checked_at":"2026-04-21T11:25:28.499Z","response_time":128,"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":["leetcode","solidity","testing"],"created_at":"2024-10-11T22:16:19.717Z","updated_at":"2026-04-21T13:32:55.477Z","avatar_url":"https://github.com/fritx.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"```sh\n# Go\ngo clean -testcache\ngo test -v ./...\n# w/ coverage\ngo test -cover ./...\ngo test -coverprofile=go_coverage.out ./...\ngo tool cover -func=go_coverage.out\ngo tool cover -html=go_coverage.out  # serving html\n\n# Python\npytest -v -s\n# w/ coverage\npip install pytest-cov\npytest --cov=.\npytest --cov=. --cov-report html:py_coverage\n# html report is under `py_coverage` dir\n\n# Rust\nrustc hello_world.rs -o hello_world_exe\n./hello_world_exe\nrustc --test hello_world.rs -o hello_world_test_exe\n./hello_world_test_exe\ncargo build\ncargo build --release\ncargo test -- --nocapture\ncargo test --release -- --nocapture\n\n# Java\njavac HelloWorld.java\njava HelloWorld\nmvn clean\nmvn install\nmvn test\nmvn compile\njava -cp target/classes me.fritx.App\nmvn package\njava -jar target/playground-1.0-SNAPSHOT.jar\n\n# Solidity\nnpm install  # or pnpm install\nREPORT_GAS=true npx hardhat test\n# `SOLIDITY_COVERAGE=true` is required to fix for viem\nSOLIDITY_COVERAGE=true npx hardhat coverage\n```\n\nRoadmap:\n- [ ] benchmarks\n- [ ] bigdata \u0026 spark \u0026 hadoop\n- [ ] [lang cheatsheet](./lang_cheatsheet.md)\n- [x] fix coverage for viem\n- [x] solidity \u0026 hardhat\n- [ ] c \u0026 c++ testing\n- [x] mixed c \u0026 c++ with go\n- [x] cargo test\n- [x] rust \u0026 rustc --test\n- [ ] gradle\n- [x] java \u0026 maven \u0026 junit\n- [ ] diagrams_bks\n- [x] [diagrams](./diagrams/)\n- [ ] P2: python -m unittest discover -v\n- [x] hacking cjk filenames \u0026 sub-directories \u0026 cwd\n- [x] pytest\n- [x] go test\n\nRefs:\n- https://github.com/NomicFoundation/hardhat/pull/4961\n- https://doc.rust-lang.org/rustc/instrument-coverage.html\n- https://pytest-cov.readthedocs.io/en/latest/reporting.html\n- https://github.com/golang/vscode-go/blob/master/docs/features.md#code-coverage\n- https://brantou.github.io/2017/05/24/go-cover-story/\n- https://junit.org/junit5/docs/current/user-guide/#running-tests-build\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffritx%2Fmixed-playground","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffritx%2Fmixed-playground","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffritx%2Fmixed-playground/lists"}