ginkgo

A Modern Testing Framework for Go (by onsi)

Ginkgo Alternatives

Similar projects and alternatives to ginkgo

  1. Gin

    165 ginkgo VS Gin

    Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. chi

    103 ginkgo VS chi

    lightweight, idiomatic and composable router for building Go HTTP services

  4. Testify

    A toolkit with common assertions and mocks that plays nicely with the standard library

  5. pgx

    72 ginkgo VS pgx

    PostgreSQL driver and toolkit for Go

  6. sqlx

    71 ginkgo VS sqlx

    general purpose extensions to golang's database/sql

  7. templ

    51 ginkgo VS templ

    A language for writing HTML user interfaces in Go.

  8. goimports

    [mirror] Go Tools (by golang)

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. zerolog

    Zero Allocation JSON Logger

  11. logrus

    38 ginkgo VS logrus

    Structured, pluggable logging for Go.

  12. httprouter

    A high performance HTTP request router that scales well

  13. errors

    31 ginkgo VS errors

    Discontinued Simple error handling primitives

  14. urfave/cli

    A simple, fast, and fun package for building command line apps in Go (by urfave)

  15. godotenv

    A Go port of Ruby's dotenv library (Loads environment variables from .env files)

  16. gopherjs

    18 ginkgo VS gopherjs

    A compiler from Go to JavaScript for running Go code in a browser

  17. decimal

    Arbitrary-precision fixed-point decimal numbers in Go

  18. pflag

    13 ginkgo VS pflag

    Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags.

  19. godog

    8 ginkgo VS godog

    Cucumber for golang

  20. GoConvey

    Go testing in the browser. Integrates with `go test`. Write behavioral tests in Go.

  21. httpexpect

    End-to-end HTTP and REST API testing for Go.

  22. spew

    6 ginkgo VS spew

    Implements a deep pretty printer for Go data structures to aid in debugging

  23. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better ginkgo alternative or higher similarity.

ginkgo discussion

Log in or Post with

ginkgo reviews and mentions

Posts with mentions or reviews of ginkgo. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-29.
  • Mastering Golang Debugging in Emacs
    15 projects | dev.to | 29 Nov 2024
    Debug both standard applications and Ginkgo tests (this is what I'm using at the moment 🤷)
  • Go-DOM - 1st major milestone
    2 projects | dev.to | 17 Nov 2024
    Let's explore a simple test, as it looks now in the code base (the code uses Ginkgo and Gomega, a somewhat overlooked combination IMHO)
  • Functional Programming in Go
    2 projects | news.ycombinator.com | 8 Nov 2024
    Take a look at the Ginkgo testing framework to see the horrors of shoe horning FP into Go

    https://onsi.github.io/ginkgo/#writing-specs

  • Show HN: Gomponents, HTML components in pure Go
    8 projects | news.ycombinator.com | 17 Oct 2024
    It's the same with the Ginkgo testing library: "After the package books_test declaration we import the ginkgo and gomega packages into the test's top-level namespace by performing a . dot-import. Since Ginkgo and Gomega are DSLs this makes the tests more natural to read."

    https://onsi.github.io/ginkgo/

  • Leverage Your Test Suite With testcontainers-go & docker-compose
    4 projects | dev.to | 4 Oct 2024
    The ginkgo testing framework helps us in building the test suite. It's entirely written in Go. Furthermore, it provides a CLI utility to set up and run the tests. Since we will use it later, let's download it from here. You can download it in two ways:
  • Writing tests for a Kubernetes Operator
    3 projects | dev.to | 7 Oct 2023
    Ginkgo: a testing framework based on the concept of ‌"Behavior Driven Development" (BDD)
  • We moved our Cloud operations to a Kubernetes Operator
    3 projects | dev.to | 15 Aug 2023
    We were also able to leverage Ginkgo's parallel testing runtime to run our integration tests on multiple concurrent processes. This provided multiple benefits: we could run our entire integration test suite in under 10 minutes and also reuse the same suite to load test the operator in a production-like environment. Using these tests, we were able to identify hot spots in the code that needed further optimization and experimented with ways to save API calls to ease the load on our own Kubernetes API server while also staying under various AWS rate limits. It was only after running these tests over and over again that I felt confident enough to deploy the operator to our dev and prod clusters.
  • Recommendations for Learning Test-Driven Development (TDD) in Go?
    3 projects | /r/golang | 9 Apr 2023
    A bit off-topic, but i really like the ginkgo BDD framework
  • Start test names with “should” (2020)
    1 project | news.ycombinator.com | 12 Feb 2023
    You obviously are not familiar with the third circle of golang continuous integration hell that is ginkgo+gomega:

    https://onsi.github.io/ginkgo/#adding-specs-to-a-suite

    It’s actually worse than that example suggests. Stuff like Expect(“type safety”).ShouldBe(GreaterThan(13)) throws runtime errors.

    The semantics of parallel test runs weren’t defined anywhere the last time I checked.

    Anyway, you’ll be thinking back fondly to the days of TestShouldReplaceChildrenWhenUpdatingInstance because now you need to write nested function calls like:

    Context(“instances”, func …)

    Describe(“that are being updated”, …)

    Expect(“should replace children”, …)

    And to invoke that from the command line, you need to write a regex against whatever undocumented and unprinted string it internally concatenates together to uniquely describe the test.

    Also, they dump color codes to stdout without checking that they are writing to a terminal, so there will be line noise all over whatever automated test logs you produce, or if you pipe stdout to a file.

  • ginkgo integration with jira/elasticsearch/webex/slack
    2 projects | /r/golang | 17 Jan 2023
    If you are using Ginkgo for your e2e, this library might of help.
  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Feb 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Stats

Basic ginkgo repo stats
20
8,512
8.6
7 days ago

onsi/ginkgo is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of ginkgo is Go.


Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you know that Go is
the 4th most popular programming language
based on number of references?