tree: 1cab7caafe3ff88c4477e0c5e8bb7eeab4c8f01c [search]
  1. src/
  2. Cargo.toml
  3. README.md
core/testkit/README.md

Apache OpenDALâ„¢ Testkit

opendal-testkit provides reusable test actions, data checkers, runtime setup, and service initialization helpers for Apache OpenDALâ„¢ storage implementations.

This crate is intended for service and integration tests. It is not required by applications using an OpenDAL operator.

Add it as a development dependency:

cargo add --dev opendal-testkit

The opendal facade also re-exports the testkit behind its tests feature.

Documentation

Test operator configuration

OPENDAL_TEST_IO_TIMEOUT sets the behavior-test I/O timeout in positive whole seconds. When unset, the test operator uses the default from TimeoutLayer. Service fixtures can set this variable when their operations need a larger I/O budget.

License

Licensed under the Apache License, Version 2.0.