testhelper.mod

Some useful functions to simplify and improve testing (by nickwells)

Testhelper.mod Alternatives

Similar projects and alternatives to testhelper.mod based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better testhelper.mod alternative or higher similarity.

testhelper.mod reviews and mentions

Posts with mentions or reviews of testhelper.mod. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-10-27.
  • Testing survey
    2 projects | /r/golang | 27 Oct 2022
    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
    1 project | /r/golang | 30 Aug 2021
    You can get the testhelper package with

Stats

Basic testhelper.mod repo stats
2
2
3.5
7 months ago

nickwells/testhelper.mod is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of testhelper.mod is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com