awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
cweill avatar

cweill/gotests

0
View on GitHub↗
5,315 stars·352 forks·Go·Apache-2.0·16 views

Gotests

gotests is a static analysis tool and boilerplate generator for Go that automatically creates structured test suites from source code. It functions as a table-driven test framework that handles type resolution for functions and methods, including the mapping of generic type constraints to concrete implementation types.

The tool integrates with large language models to synthesize realistic input values and edge cases based on function logic. It uses a template-driven generation system, allowing the structure and format of the resulting test code to be customized through external templates and parameters.

The project provides command-line utilities for recursive package scanning and directory tree processing. It includes scope control mechanisms to filter function selection using regular expressions and visibility modifiers.

Features

  • Test Scaffolding Generators - Automatically creates the initial structure and repetitive code for Go test suites to save development time.
  • Template-Based Code Customizers - Provides mechanisms to modify the structure and format of generated test code using custom templates.
  • Code Generation Templates - Renders output files by injecting extracted source metadata into customizable text templates for consistent formatting.
  • Template-Based Code Customizers - Renders test code using user-provided templates to integrate specific assertion libraries and coding styles.
  • AST Structural Extraction - Analyzes source code structures to extract function signatures and type constraints for generating test boilerplate.
  • Generic Type Constraints - Resolves Go generic type constraints into concrete implementation types for table-driven tests.
  • Test Boilerplate Generators - Automatically creates structured table-driven test files and function stubs from Go source code.
  • Static Analysis Tools - Scans Go packages recursively to identify functions and generate corresponding test suites using static analysis.
  • AI-Synthesized Edge Cases - Generates realistic input values and edge cases by passing function logic to a large language model.
  • Go Testing Frameworks - Provides a framework for rendering customizable Go test templates with automatic type handling for generics.
  • AI-Driven Case Generation - Uses large language models to automatically produce realistic input values and edge cases for Go functions.
  • AI-Driven Test Generation - Uses local large language models to produce realistic input values and error conditions based on function logic.
  • Table-Driven Tests - Builds structured test tables with automatic type handling for functions and methods.
  • Boilerplate Generators - Provides automatic generation of structured table-driven test files and function stubs from source code.
  • Generic - Creates table-driven boilerplate for generic functions by mapping type constraints to concrete implementation types.
  • Package Source Scanning - Scans directory trees to automatically generate tests for all matching source files across multiple subpackages.
  • Package-Wide Test Generation - Scans entire directory trees to automatically generate test files for all functions across multiple subpackages.
  • Code Generation Tools - Generates table-driven unit tests from source code.
  • Testing Frameworks - Generates test files from source.

Star history

Star history chart for cweill/gotestsStar history chart for cweill/gotests

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Gotests

These projects share indexed features with Gotests. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • onsi/ginkgoonsi avatar

    onsi/ginkgo

    9,014View on GitHub↗

    Ginkgo is a behavior-driven development testing framework, assertion library, and test runner for Go. It provides a domain-specific language for writing human-readable specifications, organizing tests into hierarchical containers and subjects to describe system behavior. The project distinguishes itself through advanced execution control and observability, featuring a test runner capable of parallel distribution, sharding, and randomized execution order to detect flaky tests. It includes specialized diagnostic tools for goroutine leak detection, hanging spec monitoring, and failure state debu

    Go
    View on GitHub↗9,014
  • infyomlabs/laravel-generatorInfyOmLabs avatar

    InfyOmLabs/laravel-generator

    3,829View on GitHub↗

    This project is a code scaffolding tool and database-to-code mapper for Laravel. It functions as a CRUD generator and REST API generator that automates the creation of models, controllers, and administrative interfaces based on database schemas. The tool is distinguished by its template-driven approach, using customizable stub files that allow developers to override default blueprints to enforce specific architectural standards. It provides complete administrative dashboard boilerplates, including integrated authentication, themed UI layouts, and searchable data tables. The system covers a b

    PHP
    View on GitHub↗3,829
  • smartystreets/goconveysmartystreets avatar

    smartystreets/goconvey

    8,415View on GitHub↗

    GoConvey is a behavioral testing framework for the Go programming language that provides a test runner, a code coverage tool, and a web-based monitoring dashboard. It integrates with the standard Go test command to organize tests into behavioral stories and conveyors. The project features a web interface that monitors the file system for source code changes and automatically triggers test execution to provide real-time feedback. This dashboard displays test results, failures, and a chronological history of execution status. The framework includes a state assertion system for verifying values

    Go
    View on GitHub↗8,415
  • go-swagger/go-swaggergo-swagger avatar

    go-swagger/go-swagger

    9,989View on GitHub↗

    go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command

    Goapicode-generatorgo
    View on GitHub↗9,989
Compare all 30 related projects→

Frequently asked questions

What does cweill/gotests do?

gotests is a static analysis tool and boilerplate generator for Go that automatically creates structured test suites from source code. It functions as a table-driven test framework that handles type resolution for functions and methods, including the mapping of generic type constraints to concrete implementation types.

What are the main features of cweill/gotests?

The main features of cweill/gotests are: Test Scaffolding Generators, Template-Based Code Customizers, Code Generation Templates, AST Structural Extraction, Generic Type Constraints, Test Boilerplate Generators, Static Analysis Tools, AI-Synthesized Edge Cases.

Which projects share features with cweill/gotests?

Projects with overlapping indexed features include: onsi/ginkgo — Ginkgo is a behavior-driven development testing framework, assertion library, and test runner for Go. It provides a… infyomlabs/laravel-generator — This project is a code scaffolding tool and database-to-code mapper for Laravel. It functions as a CRUD generator and… smartystreets/goconvey — GoConvey is a behavioral testing framework for the Go programming language that provides a test runner, a code… go-swagger/go-swagger — go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and… xxjwxc/uber_go_guide_cn — This project is a translated Go language style guide and programming standard. It provides a collection of coding… google/go-cmp — go-cmp is a value comparison library for Go designed for use in test suites. It functions as a recursive data differ…