File: README.md

package info (click to toggle)
golang-github-cockroachdb-datadriven 1.0.2-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 168 kB
  • sloc: makefile: 3
file content (9 lines) | stat: -rw-r--r-- 417 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# 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