Testgen
Testgen
is a tool designed to generate sample test files for multiple programming languages.

[!NOTE]
The tool is currently under development.
Go Documentation
For detailed package documentation, visit the Testgen
page on pkg.go.dev by clicking on the badge below:

Building the Project
To build the project, you can use the provided Makefile
:
-
make build
Build binaries for Linux and Windows.
-
make zip
Zip Linux and Windows binaries into archives.
-
make all
Build and zip the binaries with one command.
[!IMPORTANT]
Requires installation of GNU MAKE
.
Check GNU MAKE Installation Instructions

Utility Scripts
The project also uses a Rakefile
for various other tasks:
Available Commands
-
rake fmt
Format all Go files in the project using go fmt
.
-
rake test
Run all tests located in the ./tests
directory using go test
.
-
rake gosec
Perform a security scan on all Go files to identify potential vulnerabilities using gosec
.
-
rake
Run all of the above tasks: formatting, testing, and security scanning.
[!IMPORTANT]
Requires installation of ruby
, gem
, and rake
.
Check Ruby Installation Instructions

[!IMPORTANT]
Requires installation of go fmt
, go test
, and go sec
.
Check Go Tools Installation Instructions
License
This project is licensed under the MIT License. For more details, refer to the LICENSE file.
