awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 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·6 Aufrufe

Gotests

gotests ist ein Tool zur statischen Analyse und ein Boilerplate-Generator für Go, der automatisch strukturierte Test-Suiten aus dem Quellcode erstellt. Es fungiert als Framework für tabellengesteuerte Tests (table-driven tests) und übernimmt die Typauflösung für Funktionen und Methoden, einschließlich der Abbildung von generischen Typ-Constraints auf konkrete Implementierungstypen.

Das Tool integriert Large Language Models, um realistische Eingabewerte und Edge-Cases basierend auf der Logik der Funktionen zu synthetisieren. Es nutzt ein template-basiertes Generierungssystem, wodurch Struktur und Format des resultierenden Testcodes über externe Templates und Parameter angepasst werden können.

Das Projekt bietet CLI-Utilities für rekursives Scannen von Paketen und die Verarbeitung von Verzeichnisbäumen. Es enthält Mechanismen zur Scope-Kontrolle, um die Funktionsauswahl mittels regulärer Ausdrücke und Sichtbarkeitsmodifikatoren zu filtern.

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

Star-Verlauf

Star-Verlauf für cweill/gotestsStar-Verlauf für cweill/gotests

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Gotests

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Gotests.
  • onsi/ginkgoAvatar von onsi

    onsi/ginkgo

    9,014Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗9,014
  • infyomlabs/laravel-generatorAvatar von InfyOmLabs

    InfyOmLabs/laravel-generator

    3,829Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗3,829
  • smartystreets/goconveyAvatar von smartystreets

    smartystreets/goconvey

    8,415Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗8,415
  • go-swagger/go-swaggerAvatar von go-swagger

    go-swagger/go-swagger

    9,989Auf GitHub ansehen↗

    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
    Auf GitHub ansehen↗9,989
Alle 30 Alternativen zu Gotests anzeigen→

Häufig gestellte Fragen

Was macht cweill/gotests?

gotests ist ein Tool zur statischen Analyse und ein Boilerplate-Generator für Go, der automatisch strukturierte Test-Suiten aus dem Quellcode erstellt. Es fungiert als Framework für tabellengesteuerte Tests (table-driven tests) und übernimmt die Typauflösung für Funktionen und Methoden, einschließlich der Abbildung von generischen Typ-Constraints auf konkrete Implementierungstypen.

Was sind die Hauptfunktionen von cweill/gotests?

Die Hauptfunktionen von cweill/gotests sind: 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.

Welche Open-Source-Alternativen gibt es zu cweill/gotests?

Open-Source-Alternativen zu cweill/gotests sind unter anderem: 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…