onsi

    onsi/ginkgo

    A Modern Testing Framework for Go

    9.1K stars
    709 forks
    9.1K GitHub watchers
    Updated Oct 31, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    4 releases in the last 90 days, the latest 23 days ago, with 210 contributors on GitHub.

    Gained 20% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a modern, expressive testing framework for Go with a behavior-driven development style DSL.
    • Enables clear, organized, and parallelizable test specs with rich setup, teardown, and filtering capabilities.
    • Use for writing unit tests with nested contexts and descriptive behavior in Go projects.
    • Use for building complex integration test suites that require parallel execution and timeout management.
    • Use for implementing test-driven development workflows with rapid feedback using the built-in CLI watch mode.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Ginkgo is a mature testing framework for Go designed to help you write expressive specs. Ginkgo builds on top of Go's testing foundation and is complemented by the Gomega matcher library. Together, Ginkgo and Gomega let you express the intent behind your specs clearly:

    Jump to the docs to learn more. It's easy to bootstrap and start writing your first specs.

    If you have a question, comment, bug report, feature request, etc. please open a GitHub issue, or visit the Ginkgo Slack channel.

    Whether writing basic unit specs, complex integration specs, or even performance specs - Ginkgo gives you an expressive Domain-Specific Language (DSL) that will be familiar to users coming from frameworks such as Quick, RSpec, Jasmine, and Busted. This style of testing is sometimes referred to as "Behavior-Driven Development" (BDD) though Ginkgo's utility extends beyond acceptance-level testing.

    Excerpt from the onsi/ginkgo README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    709+4

    Open issues

    128+2

    Compared with peers in Testing

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    onsi/ginkgo compared with Testing repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    D4Vinci/Scrapling101.1K+6.3K756 days ago
    nrwl/nx29.4K—653 days ago
    stretchr/testify26.2K—5678 days ago
    gildas-lormeau/SingleFile22.9K—35today
    appium/appium22.2K—601 day ago
    onsi/ginkgo9.1K—5923 days ago
    Category median26.2K—60—

    Discover Repositories

    Search across tracked repositories by name or description