Go bdd-framework

Open-source Go projects categorized as bdd-framework

Top 4 Go bdd-framework Projects

  • GoConvey

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

    Project mention: Is there a more detailed test coverage report than go test -cover? | reddit.com/r/golang | 2022-08-01

    IIRC you can use http://goconvey.co/ just for the reports

  • ginkgo

    A Modern Testing Framework for Go

    Project mention: Start test names with “should” (2020) | news.ycombinator.com | 2023-02-12

    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.

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • gherkingen

    Behaviour Driven Development tests generator for Golang

  • gogiven

    gogiven - BDD testing framework for go that generates readable output directly from source code

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-12.

Go bdd-framework related posts

Index

What are some of the best open-source bdd-framework projects in Go? This list will help you:

Project Stars
1 GoConvey 7,659
2 ginkgo 7,009
3 gherkingen 55
4 gogiven 15
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com