tools/rtf/README.md
RTF is a testing management framework for transparent testing management, simplifying the testing configuration process, and enabling quick integration for new projects.
Related resources:
RTF is currently used as the test management tool for Lynx and related projects. Some strengths of RTF are:
Provide template files for centralized management of test cases, using corresponding template files to manage and configure test cases, enabling users to focus solely on the template files for the entire testing system without needing to concern themselves with the underlying operation of the testing tools.
Support coexistence of different build environments, and for test cases with different build parameters, support isolated configuration by the builder.
The testing template supports dynamic parameters. The template exposes dynamic capabilities through the options object, allowing template configuration to be determined at runtime.
Support parallel execution of cases to reduce testing time.
rtf -h
For each repository, you must use the rtf init plugin (integrated by default) to initialize the repository first. After successful initialization, you will find a .rtf folder in the initialization directory.
rtf init -h
rtf init project --path .
You can configure plugins in the .rtf/config file.
# .rtf/config
plugins = ["NativeUT", "AndroidUT", "CoverageChecker"]
After configuring the plugins, you can reuse the 'help' command to discover the newly added plugins.
rtf -h
The current list of supported plugins is as follows.
| plugin | Details |
|---|---|
| NativeUT | NativeUTPlugin |
| AndroidUT | AndroidUTPlugin |
| CoverageChecker | CoverageCheckerPlugin |