Go Unittest

Open-source Go projects categorized as Unittest

Top 4 Go Unittest Projects

  1. helm-unittest

    BDD styled unit test framework for Kubernetes Helm charts as a Helm plugin. (by helm-unittest)

    Project mention: We migrated onto K8s in less than 12 months | news.ycombinator.com | 2024-08-08

    Whilst I'll agree that writing helm charts isn't particularly delightful, consuming them can be.

    In our case we have a single application/service base helm chart that provides sane defaults and all our deployments extend from. The amount of helm values config required by the consumers is minimal, and there has been very little occasion for a consumer to include their own templates - the base chart exposes enough knobs to avoid this.

    When it comes to third-party charts, many we've been able to deploy as is (sometimes with some PRs upstream to add extra functionality), and occasionally we've needed to wrap/fork them. We've deployed far more third-party charts as-is than not though.

    One thing probably worth mentioning w.r.t to maintaining our custom charts is the use of helm unittest (https://github.com/helm-unittest/helm-unittest) - it's been a big help to avoid regressions.

    We do manage a few kubernetes resources through terraform, including Argocd (via the helm provider which is rather slow when you have a lot of CRDs), but generally we've found helm chart deployed through Argocd to be much more manageable and productive.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. go-carpet

    Tool for show test coverage in terminal for Go source files

  4. go-testpredicate

    Unit-testing predicates for Go.

  5. squ

    One step to speed up testing cycle based on code diff. For multiple languages.

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).

Go Unittest discussion

Log in or Post with

Go Unittest related posts

  • One step to speed up testing cycle based on code diff. For multiple languages.

    1 project | /r/softwaretesting | 20 Mar 2023
  • One step to speed up testing cycle based on code diff. For multiple languages.

    1 project | /r/coolgithubprojects | 20 Mar 2023

Index

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

# Project Stars
1 helm-unittest 1,000
2 go-carpet 248
3 go-testpredicate 5
4 squ 4

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com