Go unit-testing

Open-source Go projects categorized as unit-testing | Edit details

Top 5 Go unit-testing Projects

  • GitHub repo chromedp

    A faster, simpler way to drive browsers supporting the Chrome DevTools Protocol.

    Project mention: Doubt in web scraping using go/colly | reddit.com/r/golang | 2021-12-04

    If you need JS, you can try also: https://github.com/chromedp/chromedp

  • GitHub repo dockertest

    Write better integration tests! Dockertest helps you boot up ephermal docker images for your Go tests with minimal work.

    Project mention: Mocking an LDAP server? | reddit.com/r/golang | 2022-01-10

    If you're using docker or some other local container runtime, give dockertest a go. Instead of mocking your LDAP connection, you can test against a real server. Regarding the container image, you could try something like openldap from bitnami.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • GitHub repo dbcleaner

    Clean database for testing, inspired by database_cleaner for Ruby

  • GitHub repo mockit

    Library that make mocking of Go functions/methods easy (by pasdam)

    Project mention: Unit Testing in Golang | reddit.com/r/golang | 2021-02-01

    A different approach to mocking in Go https://github.com/pasdam/mockit that is more similar to JavaScript and Mockito (Java).

  • GitHub repo go-testpredicate

    Unit-testing predicates for Go.

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 2022-01-10.

Go unit-testing related posts

Index

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

Project Stars
1 chromedp 7,135
2 dockertest 2,290
3 dbcleaner 135
4 mockit 8
5 go-testpredicate 3
Find remote jobs at our new job board 99remotejobs.com. There are 29 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
OPS - Build and Run Open Source Unikernels
Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.
github.com/nanovms