{"id":25449780,"url":"https://github.com/deltartificial/tygen","last_synced_at":"2025-09-18T00:53:01.848Z","repository":{"id":277906902,"uuid":"933414269","full_name":"deltartificial/tygen","owner":"deltartificial","description":"Generate robust tests for Rust types ⚗️","archived":false,"fork":false,"pushed_at":"2025-02-16T22:10:50.000Z","size":55,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-11T14:42:27.406Z","etag":null,"topics":["rust","test","test-automation","types"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deltartificial.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2025-02-15T22:24:12.000Z","updated_at":"2025-02-16T22:10:53.000Z","dependencies_parsed_at":"2025-02-16T23:19:56.557Z","dependency_job_id":"0f6ba328-d015-4259-8f2b-84efaafaa2d9","html_url":"https://github.com/deltartificial/tygen","commit_stats":null,"previous_names":["deltartificial/tygen"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/deltartificial/tygen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltartificial%2Ftygen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltartificial%2Ftygen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltartificial%2Ftygen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltartificial%2Ftygen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deltartificial","download_url":"https://codeload.github.com/deltartificial/tygen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deltartificial%2Ftygen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275691192,"owners_count":25510500,"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-09-17T02:00:09.119Z","response_time":84,"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":["rust","test","test-automation","types"],"created_at":"2025-02-17T21:18:38.868Z","updated_at":"2025-09-18T00:53:01.630Z","avatar_url":"https://github.com/deltartificial.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tygen ⚗️\n\nA powerful Rust CLI tool for automatically generating comprehensive test suites for Rust types.\n\n## Features\n\n- Trait implementation testing (Debug, Clone, PartialEq)\n- Serialization testing\n- Memory layout analysis\n- Field validation\n- JSON schema validation\n- Default implementation testing\n- Size and alignment checks\n- Option wrapping analysis\n- Attribute validation\n\n## Installation\n\n```bash\n# Clone the repository\ngit clone https://github.com/deltartificial/tygen.git\ncd tygen\n\n# Install dependencies and build\ncargo build --release\n```\n\n## Usage\n\n```bash\n# Basic usage\ncargo run -- path/to/types.rs\n\n# Example with provided test files\ncargo run -- ./example_type.rs\n\n# With custom output directory\ncargo run -- path/to/types.rs -o custom/test/dir\n\n# With verbose output\ncargo run -- path/to/types.rs -v\n```\n\n## Configuration\n\nThe test generation can be configured through the `TestConfig` struct:\n\n```rust\nlet config = TestConfig {\n    check_derives: true,\n    check_serialization: true,\n    check_size: true,\n    check_fields: true,\n};\n```\n\n## Project Structure\n\n```\nsrc/\n├── analyzer/     # Type analysis and parsing\n├── generator/    # Test generation logic\n├── error/       # Error handling\n├── cli.rs       # CLI interface\n├── lib.rs       # Library interface\n└── main.rs      # Entry point\n```\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details. ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltartificial%2Ftygen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeltartificial%2Ftygen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeltartificial%2Ftygen/lists"}