11 best Go Testing Data libraries in 2024

share link

by marketing.admin@openweaver.com dot icon Updated: Mar 13, 2023

technology logo
technology logo

Guide Kit Guide Kit  

As the Github Go page explains, this language was created because the developers at Google needed a language that would handle the needs of their projects. It also needed to be fast, which can be difficult when it comes to languages that come with dynamic features.. Go testing data is a library for using test data in Go tests. It can generate random, pseudo-random or pre-defined values for struct fields, variables and arrays. It is useful for benchmarking, fuzzing and test isolation. In many cases, proper data mocking can make testing simpler and more effective than if the tests relied on real data. Here is a short list of 11 open source libraries that provide utilities for generating random test data in the Go language including gemini - Test data integrity by comparing against an Oracle running; testsql - Generate test data from SQL files; Dr Test -helps you to generate random test data that satisfy your schema definitions.

dksnapby kelda

Go doticonstar image 124 doticonVersion:v0.1.0doticon
License: Permissive (Apache-2.0)

Docker Snapshots for Development and Test Data

Support
    Quality
      Security
        License
          Reuse

            dksnapby kelda

            Go doticon star image 124 doticonVersion:v0.1.0doticon License: Permissive (Apache-2.0)

            Docker Snapshots for Development and Test Data
            Support
              Quality
                Security
                  License
                    Reuse

                      factoryby nauyey

                      Go doticonstar image 55 doticonVersion:v0.2.0doticon
                      License: Others (Non-SPDX)

                      A package for setting up Golang structs as test data.

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                factoryby nauyey

                                Go doticon star image 55 doticonVersion:v0.2.0doticon License: Others (Non-SPDX)

                                A package for setting up Golang structs as test data.
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          geminiby scylladb

                                          Go doticonstar image 23 doticonVersion:v1.8.2doticon
                                          License: Permissive (Apache-2.0)

                                          Test data integrity by comparing against an Oracle running in parallel

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    geminiby scylladb

                                                    Go doticon star image 23 doticonVersion:v1.8.2doticon License: Permissive (Apache-2.0)

                                                    Test data integrity by comparing against an Oracle running in parallel
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              LINOby CGI-FR

                                                              Go doticonstar image 14 doticonVersion:v2.3.1-beta3doticon
                                                              License: Strong Copyleft (GPL-3.0)

                                                              Large Input Narrow Output - LINO is a simple ETL tool to manage tests data.

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        LINOby CGI-FR

                                                                        Go doticon star image 14 doticonVersion:v2.3.1-beta3doticon License: Strong Copyleft (GPL-3.0)

                                                                        Large Input Narrow Output - LINO is a simple ETL tool to manage tests data.
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  testsqlby zhulongcheng

                                                                                  Go doticonstar image 10 doticonVersion:Currentdoticon
                                                                                  License: Permissive (MIT)

                                                                                  Generate test data from SQL files before testing and clear it after finished.

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            testsqlby zhulongcheng

                                                                                            Go doticon star image 10 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                            Generate test data from SQL files before testing and clear it after finished.
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse
                                                                                                      Go doticonstar image 5 doticonVersion:Currentdoticon
                                                                                                      License: Permissive (MIT)

                                                                                                      Export k6 metrics and load test data into Prometheus

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                k6-prometheus-exporterby benc-uk

                                                                                                                Go doticon star image 5 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                Export k6 metrics and load test data into Prometheus
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          dr-testby otto-de

                                                                                                                          Go doticonstar image 4 doticonVersion:Currentdoticon
                                                                                                                          License: Permissive (Apache-2.0)

                                                                                                                          Dr. Test helps you to generate random test data that satisfy your schema definitions

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    dr-testby otto-de

                                                                                                                                    Go doticon star image 4 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

                                                                                                                                    Dr. Test helps you to generate random test data that satisfy your schema definitions
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse
                                                                                                                                              Go doticonstar image 2 doticonVersion:Currentdoticon
                                                                                                                                              License: Permissive (Apache-2.0)

                                                                                                                                              parse_number_fxx test data

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        parse-number-fxx-test-databy nigeltao

                                                                                                                                                        Go doticon star image 2 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

                                                                                                                                                        parse_number_fxx test data
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  aqsby diamondburned

                                                                                                                                                                  Go doticonstar image 2 doticonVersion:Currentdoticon
                                                                                                                                                                  License: Permissive (ISC)

                                                                                                                                                                  Anime quotes generator, used for test data.

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            aqsby diamondburned

                                                                                                                                                                            Go doticon star image 2 doticonVersion:Currentdoticon License: Permissive (ISC)

                                                                                                                                                                            Anime quotes generator, used for test data.
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      go-auditby tideland

                                                                                                                                                                                      Go doticonstar image 2 doticonVersion:v0.6.5doticon
                                                                                                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                                                                                                      Powerful testers, test data generators, capturing of stdout/stderr and test-wide manipulation of the environment help with powerful unit tests

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                go-auditby tideland

                                                                                                                                                                                                Go doticon star image 2 doticonVersion:v0.6.5doticon License: Permissive (BSD-3-Clause)

                                                                                                                                                                                                Powerful testers, test data generators, capturing of stdout/stderr and test-wide manipulation of the environment help with powerful unit tests
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          ci-basicby jfrog-solutiontest

                                                                                                                                                                                                          Go doticonstar image 2 doticonVersion:Currentdoticon
                                                                                                                                                                                                          License: Others (Non-SPDX)

                                                                                                                                                                                                          gocenter testing data; parent module

                                                                                                                                                                                                          Support
                                                                                                                                                                                                            Quality
                                                                                                                                                                                                              Security
                                                                                                                                                                                                                License
                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                    ci-basicby jfrog-solutiontest

                                                                                                                                                                                                                    Go doticon star image 2 doticonVersion:Currentdoticon License: Others (Non-SPDX)

                                                                                                                                                                                                                    gocenter testing data; parent module
                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                          License
                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                              See similar Kits and Libraries