...
To exercise user-facing automatable functionality, using standard SQL client drivers, we use the roachtest framework.
Often in combination with the
workload
utility.Also see Large scale testing.
To exercise user-facing interactive functionality, we have two test approaches:
To exercise interactions in a text terminal, we use the TCL interactive test suite (
pkg/cli/interactive_tests
)To exercise interactions via a web browser, we use a standard javascript interactive test package (somewhere in pkg/ui)
To exercise non-standard SQL drivers and certain system libraries, we use:
The acceptance test framework (
pkg/acceptance
), which imports a Docker image containing many non-standard libraries and client drivers.The Examples-ORMs test suite in CI. This imports and runs the tests from https://github.com/cockroachdb/examples-orms