Googletrans
testhelper.mod
Our great sponsors
Googletrans | testhelper.mod | |
---|---|---|
- | 2 | |
105 | 2 | |
- | - | |
0.0 | 3.5 | |
over 3 years ago | 7 months ago | |
Go | Go | |
MIT License | MIT License |
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.
Googletrans
We haven't tracked posts mentioning Googletrans yet.
Tracking mentions began in Dec 2020.
testhelper.mod
-
Testing survey
The standard Go testing environment is very good, certainly for unit testing. You might want to use some test helper packages to provide some missing features. For instance, table-driven testing where you have a table of test-specific structures providing inputs and expected results which you iterate over, is a good way of organising your tests. One downside is that the test failure will all be reported from the same line and it can be hard to find the failing test. A useful helper to identify the failing test is the ID struct from github.com/nickwells/testhelper.mod/v2/testhelper which if created using the MkID function will show the filename and line of the failing test. This package also offers standardised comparison checks and support for Golden files and lots more.
-
testhelper v1.16.0 released with a new DiffVals func - like reflect.DeepEqual but with some useful extra features
You can get the testhelper package with
What are some alternatives?
godmt - Tool that can parse Go files into an abstract syntax tree and translate it to several programming languages.
ezcli - âš Minimal Go package for create CLI tools in <10 second!
mimeheader - Library to work with MimeHeaders and other mime types. Library supports wildcards and parameters.
Respawn - Intelligent database cleaner for integration tests
cache - LRU-based cache package for Go.
bus - Efficient, lock-free, bounded Rust broadcast channel
go-mailform - A small library to send physical mail from your Go applications using https://mailform.io
gotimeparser - Golang time parser. This library provides an ability to parse time from many different formats at the same time.
trn - Time Ranges
errors - A drop-in replacement for Go errors, with some added sugar! Unwrap user-friendly messages, HTTP status code, easy wrapping with multiple error types.
octotui - ðð±ð¥ïž GitHub stats in your terminal