Test framework should do the following things:
- Read
OPENDAL_TEST as the scheme to test.
- Read all env values
OPENDAL_{scheme}_{key}={value} and use the map to construct the operator.
- Perform the test logic upon operator, for example, write a file and read it back to verify checksum.
The usage will be like:
OPENDAL_TEST=memory make behavior_test
Tasks
Test framework should do the following things:
OPENDAL_TESTas theschemeto test.OPENDAL_{scheme}_{key}={value}and use the map to construct the operator.The usage will be like:
Tasks