https://github.com/ipfs/go-test
:test_tube: Testing utilty library
https://github.com/ipfs/go-test
testing
Last synced: 9 months ago
JSON representation
:test_tube: Testing utilty library
- Host: GitHub
- URL: https://github.com/ipfs/go-test
- Owner: ipfs
- License: other
- Created: 2024-06-26T16:05:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-12T00:06:39.000Z (over 1 year ago)
- Last Synced: 2025-01-14T11:59:54.568Z (over 1 year ago)
- Topics: testing
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 9
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# :test_tube: go-test
[](https://pkg.go.dev/github.com/ipfs/go-test)
[](https://github.com/ipfs/go-test/actions/workflows/go-test.yml)
> A testing utility library.
This module provides testing utility logic in Go that is not specific to any project.
## [`cmd`](https://pkg.go.dev/github.com/ipfs/go-test/cmd "API documentation") package
The cmd package contains logic for running synchronous and asynchronous commands.
## [`random`](https://pkg.go.dev/github.com/ipfs/go-test/random "API documentation") package
The random package contains logic for generating random test data.
## Command Line Tools
Command line utilities are located in the [`cli`](https://github.com/ipfs/go-test/tree/main/cli) directory:
- [random-data](https://github.com/ipfs/go-test/tree/main/cli/random-data#random-data---writes-random-data-to-stdout) writes random data to stdout
- [random-files](https://github.com/ipfs/go-test/tree/main/cli/random-files#random-files---create-random-filesystem-hierarchies) creates random files in hierarchy of random directories