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

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
cweill avatar

cweill/gotests

0
View on GitHub↗
5,315 estrellas·352 forks·Go·Apache-2.0·8 vistas

Gotests

gotests es una herramienta de análisis estático y generador de boilerplate para Go que crea automáticamente suites de pruebas estructuradas a partir del código fuente. Funciona como un framework de pruebas basado en tablas que gestiona la resolución de tipos para funciones y métodos, incluyendo el mapeo de restricciones de tipos genéricos a tipos de implementación concretos.

La herramienta se integra con modelos de lenguaje (LLM) para sintetizar valores de entrada realistas y casos borde basados en la lógica de la función. Utiliza un sistema de generación basado en plantillas, lo que permite personalizar la estructura y el formato del código de prueba resultante mediante parámetros y plantillas externas.

El proyecto proporciona utilidades de línea de comandos para el escaneo recursivo de paquetes y el procesamiento de árboles de directorios. Incluye mecanismos de control de alcance para filtrar la selección de funciones mediante expresiones regulares y modificadores de visibilidad.

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.
  • Frameworks de pruebas - Generates test files from source.

Historial de estrellas

Gráfico del historial de estrellas de cweill/gotestsGráfico del historial de estrellas de cweill/gotests

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace cweill/gotests?

gotests es una herramienta de análisis estático y generador de boilerplate para Go que crea automáticamente suites de pruebas estructuradas a partir del código fuente. Funciona como un framework de pruebas basado en tablas que gestiona la resolución de tipos para funciones y métodos, incluyendo el mapeo de restricciones de tipos genéricos a tipos de implementación concretos.

¿Cuáles son las características principales de cweill/gotests?

Las características principales de cweill/gotests son: 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.

¿Qué alternativas de código abierto existen para cweill/gotests?

Las alternativas de código abierto para cweill/gotests incluyen: 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…

Alternativas open-source a Gotests

Proyectos open-source similares, clasificados según cuántas características comparten con Gotests.
  • onsi/ginkgoAvatar de onsi

    onsi/ginkgo

    9,014Ver en 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
    Ver en GitHub↗9,014
  • infyomlabs/laravel-generatorAvatar de InfyOmLabs

    InfyOmLabs/laravel-generator

    3,829Ver en 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
    Ver en GitHub↗3,829
  • smartystreets/goconveyAvatar de smartystreets

    smartystreets/goconvey

    8,415Ver en 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
    Ver en GitHub↗8,415
  • go-swagger/go-swaggerAvatar de go-swagger

    go-swagger/go-swagger

    9,989Ver en 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
    Ver en GitHub↗9,989
Ver las 30 alternativas a Gotests→