https://github.com/cockroachdb/datadriven
Data-Driven Testing for Go
https://github.com/cockroachdb/datadriven
Last synced: about 2 months ago
JSON representation
Data-Driven Testing for Go
- Host: GitHub
- URL: https://github.com/cockroachdb/datadriven
- Owner: cockroachdb
- License: apache-2.0
- Created: 2019-04-27T14:15:24.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-04-07T16:48:32.000Z (8 months ago)
- Last Synced: 2025-06-13T14:02:31.323Z (6 months ago)
- Language: Go
- Homepage:
- Size: 6.04 MB
- Stars: 53
- Watchers: 47
- Forks: 19
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - datadriven - Driven Testing for Go | cockroachdb | 25 | (Go)
README
# Data-Driven Tests for Go
This repository implements an extension of [Table-Driven Testing]. Instead of
building and iterating over a table in the test code, the input is further
separated into files (or inline strings). For certain classes of tests, this
can significantly reduce the friction involved in writing and reading these
tests.
[Table-Driven Testing]: https://github.com/golang/go/wiki/TableDrivenTests