dance

module
v0.0.0-...-efb2c3d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2023 License: Apache-2.0

README

dance

Dance

FerretDB integration testing tool named after Ferret war dance. It runs integration tests of various software that uses MongoDB (such as MongoDB Go driver) against both MongoDB and FerretDB, and compares results with ones expected by tests configurations. It also runs mongo tooling such as mongodump against both of them, to make sure that we provide various functionalities and provide the best user experience. It is expected that most or all tests pass when run against MongoDB, so we mark a few or none tests as expected failures or skips in configuration. More tests fail (and are marked as expected failures in tests configuration) when run against FerretDB, but their number goes down over time.

Dance also includes one additional set of integration tests (called diff) that is written by FerretDB developers. It highlights the known differences between FerretDB and MongoDB, as noted in documentation.

See CONTRIBUTING.md for running instructions.

Directories

Path Synopsis
cmd
internal
command
Package command contains generic test runner.
Package command contains generic test runner.
config
Package config provides functionality for handling and validating configuration data for test execution.
Package config provides functionality for handling and validating configuration data for test execution.
configload
Package configload provides functionality for loading and validating configuration data from YAML files.
Package configload provides functionality for loading and validating configuration data from YAML files.
gotest
Package gotest contains `go test` runner.
Package gotest contains `go test` runner.
jstest
Package jstest contains `mongo` runner.
Package jstest contains `mongo` runner.
ycsb
Package ycsb contains `ycsb` runner.
Package ycsb contains `ycsb` runner.
tests
diff
Package diff contains diff tests.
Package diff contains diff tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL