An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 6.6% on proxy.golang.org
Top 1.4% dependent packages on proxy.golang.org
Top 1.5% dependent repos on proxy.golang.org

proxy.golang.org : github.com/carlmjohnson/be

Package be is a minimalist test assertion helper library. Tests usually should not fail. When they do fail, the failure should be repeatable. Therefore, it doesn't make sense to spend a lot of time writing good test messages. (This is unlike error messages, which should happen fairly often, and in production, irrepeatably.) Package be is designed to simply fail a test quickly and quietly if a condition is not met with a reference to the line number of the failing test. If the reason for having the test is not immediately clear from context, you can write a comment, like normal code. If you do need more extensive reporting to figure out why a test is failing, use be.DebugLog or be.Debug to capture more information. Most tests just need simple equality testing, which is handled by be.Equal (for comparable types), be.AllEqual (for slices of comparable types), and be.DeepEqual (which relies on reflect.DeepEqual). Another common test is that a string or byte slice should contain or not some substring, which is handled by be.In and be.NotIn. Rather than package be providing every possible test helper, you are encouraged to write your own advanced helpers for use with be.True, while package be takes away the drudgery of writing yet another simple func nilErr(t *testing.T, err) { ... }. The github.com/carlmjohnson/be/testfile subpackage has functions that make it easy to write file-based tests that ensure that the output of some transformation matches a golden file. Subtests can automatically be run for all files matching a glob pattern, such as testfile.Run(t, "testdata/*/input.txt", ...). If the test fails, the failure output will be written to a file, such as "testdata/basic-test/-failed-output.txt", and then the output can be examined via diff testing with standard tools. Set the environmental variable TESTFILE_UPDATE to update the golden file. Every test in the be package requires a testing.TB as its first argument. There are various clever ways to get the testing.TB implicitly,* but package be is designed to be simple and explicit, so it's easiest to just always pass in a testing.TB the boring way.

Registry - Source - Documentation - JSON - codemeta.json
purl: pkg:golang/github.com/carlmjohnson/be
Keywords: generic , go , golang , golden-file , testing
License: MIT
Latest release: 3 months ago
First release: over 3 years ago
Namespace: github.com/carlmjohnson
Dependent packages: 19
Dependent repositories: 13
Stars: 81 on GitHub
Forks: 0 on GitHub
Total Commits: 24
Committers: 1
Average commits per author: 24.0
Development Distribution Score (DDS): 0.0
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/carlmjohnson
Last synced: 1 day ago

Top 8.8% on proxy.golang.org
github.com/lucafmarques/rpc-channel v0.6.0
Channel-like semantics over net/rpc
16 versions - Latest release: over 1 year ago - 13 stars on GitHub
Top 8.3% on proxy.golang.org
go.senan.xyz/rsl v0.0.0-20231125175623-ec38cdee31ad 💰
reserialise: lossy but versatile conversion between data serialisation formats
6 versions - Latest release: almost 2 years ago - 7 stars on GitHub
Top 9.9% on proxy.golang.org
github.com/carlmjohnson/crockford v0.23.1 💰
Package crockford implements the Crockford base 32 encoding See https://www.crockford.com/base32...
10 versions - Latest release: almost 2 years ago - 5 dependent packages - 2 dependent repositories - 3 stars on GitHub
Top 9.3% on proxy.golang.org
github.com/earthboundkid/crockford v0.23.1 💰
Package crockford implements the Crockford base 32 encoding See https://www.crockford.com/base32...
9 versions - Latest release: almost 2 years ago - 5 stars on GitHub
github.com/go-ap/storage-sqlite v0.0.0-20231112181059-f32529430fb8
61 versions - Latest release: about 2 years ago - 2 dependent packages - 1 dependent repositories - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/spotlightpa/nkotb v0.0.0-20231026004443-9e34474adbaa
The right stuff to extract blocks of marky Markdownish content from HTML
3 versions - Latest release: about 2 years ago - 1 stars on GitHub
Top 7.6% on proxy.golang.org
github.com/spotlightpa/almanack v0.0.0-20231019132731-3566f73706cf
Predicts future sports scores
21 versions - Latest release: about 2 years ago - 26 stars on GitHub
Top 9.6% on proxy.golang.org
github.com/mattermost/perseus v0.0.2
Multiplex connections
2 versions - Latest release: almost 3 years ago - 10 stars on GitHub
Top 7.8% on proxy.golang.org
github.com/agnivade/perseus v0.0.0-20221212044328-59b3a1ce5fda
Multiplex connections
2 versions - Latest release: almost 3 years ago - 10 stars on GitHub
github.com/carlmjohnson/rootdown v0.22.4
Package rootdown is the only HTTP router for Go.
4 versions - Latest release: over 3 years ago - 1 dependent package - 3 dependent repositories - 1 stars on GitHub
Top 9.5% on proxy.golang.org
github.com/earthboundkid/resperr v0.22.0 💰
Package resperr contains helpers for associating http status codes and user messages with errors
6 versions - Latest release: over 3 years ago - 23 stars on GitHub
Top 6.9% on proxy.golang.org
github.com/carlmjohnson/resperr v0.22.0
Package resperr contains helpers for associating http status codes and user messages with errors
11 versions - Latest release: over 3 years ago - 3 dependent packages - 4 dependent repositories - 18 stars on GitHub
Top 8.6% on proxy.golang.org
github.com/carlmjohnson/flagx v0.22.2 💰
Package flagx implements extensions to the standard flag package in the form of types that implem...
2 versions - Latest release: over 3 years ago - 18 dependent packages - 7 dependent repositories - 5 stars on GitHub
Top 7.5% on proxy.golang.org
github.com/carlmjohnson/gateway v1.22.2 💰
Package gateway provides a drop-in replacement for net/http.ListenAndServe for use in AWS Lambda ...
12 versions - Latest release: over 3 years ago - 3 dependent packages - 5 dependent repositories - 8 stars on GitHub
Top 9.3% on proxy.golang.org
github.com/earthboundkid/gateway v1.22.2
Drop-in replacement for Go net/http when running in AWS Lambda & API Gateway
6 versions - Latest release: over 3 years ago - 8 stars on GitHub
Top 8.7% on proxy.golang.org
github.com/carlmjohnson/springerle v0.22.2 💰
A cookiecutter tool written in Go
11 versions - Latest release: over 3 years ago - 1 dependent repositories - 11 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.