goc VS go-internal

Compare goc vs go-internal and see what are their differences.

goc

A Comprehensive Coverage Testing System for The Go Programming Language (by qiniu)

go-internal

Selected Go-internal packages factored out from the standard library (by rogpeppe)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
goc go-internal
1 3
769 796
2.2% -
3.7 5.5
8 days ago 12 days ago
Go Go
Apache License 2.0 BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

goc

Posts with mentions or reviews of goc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-08.

go-internal

Posts with mentions or reviews of go-internal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-08.
  • Ask HN: Good language-agnostic test suites?
    1 project | news.ycombinator.com | 30 Mar 2023
    The Go compiler has a really interesting, black box testing tool called "testscript"

    You can find an extracted, installable version here: https://github.com/rogpeppe/go-internal/tree/master/cmd/test...

    For test cases, I would look to libraries in any language that has them in an easy to copy format

  • Code coverage for Go integration tests
    6 projects | news.ycombinator.com | 8 Mar 2023
    No idea if the technique was original, it’s been too long, but I wrote about it on the Cloudflare blog in 2016. https://blog.cloudflare.com/go-coverage-with-external-tests/

    Anyway, very happy to see the team ship first class support for it. It immediately made coverage support in testscript much more natural, too. https://github.com/rogpeppe/go-internal/pull/201

  • testscript, a hidden gem the Go team kept locked away
    2 projects | dev.to | 13 Jun 2022
    Thank you very much to Russ Cox for the original concept of testscript, to Roger Peppe for maintaining go-internal, and the whole Go team for their work on Go and its excellent tooling. Your work and efforts are truly appreciated!

What are some alternatives?

When comparing goc and go-internal you can also consider the following projects:

embedded-postgres - Run a real Postgres database locally on Linux, OSX or Windows as part of another Go application or test

limgo - Simple tool to ensure the test coverage does not fall below a limit

GoAws - AWS (SQS/SNS) Clone for Development testing

Encore - Encore is the Backend Development Platform purpose-built to help you create event-driven and distributed systems.

frisby - API testing framework inspired by frisby-js

go - The Go programming language

covergates - The portal gates to coverage reports

datastation - App to easily query, script, and visualize data from every database, file, and API.

baloo - Expressive end-to-end HTTP API testing made easy in Go

rust-coverage-integration-test - end-to-end integration-test tool for rust that supports local/hosted coverage

dsunit - Datastore Testibility

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