The serverless-test is a collection of e2e tests based on the Open API for the TiDB Cloud serverless.
The goal of the serverless-test is:
- Ensure the correctness of any features in TiDB Cloud serverless.
- Provide examples for the usage of the TiDB Cloud Open API.
The following features are tested in the serverless-test:
- Import
- Export
- SDK: The SDK is imported from tidbcloud-cli. Open a pull request to the tidbcloud-cli repository if you want to modify the SDK.
- Common configurations: you can add common configurations in the
config
package. - Add tests: when you want to add tests for a new feature, create a new test file under sceneTest.
- Add GitHub actions: after adding tests, you can add GitHub actions to run the tests automatically. e.g., export-scene-test.yml.
Apache 2.0 license. See the LICENSE file for details.