TCF is a system that simplifies the creation and execution of tests. cases (automation, for that matter) with minimal setup effort by engineers (SW, QA, and release) and :ref:`autobuilders/CI <tcf_ci>` alike across a wide variety of hardware platforms. It is distributed under the terms of the Apache 2.0 licence.
The test framework provides means to:
- Discover and run one or many units, integration, and end-to-end automated test cases or samples with a single command line; these test cases may need no target (run on the local host) or one or more targets on which to operate.
- Locate, manage, and share target hardware to maximise resource efficiency.
A developer will create a feature and, as part of that, create a unit. test cases, which will be executed while developing the features until The feature is complete. Other engineers (e.g., QA) might create more unit tests, integration tests, and end-to-end tests to validate different features working together. Testcase metadata is added to the test cases. indicates how to build it, where it can be run, and how to determine if whether it is successful or not, or how to extract significant data (like resource consumption, performance, etc.) for postprocessing. These test Cases can then be committed as part of the code so that other People or agents can run them. The test case can request targets, power them up or down, connect or disconnect things to or from it, etc.
When is it time to run the test cases? A developer, QA engineer, or The CI/automation/automationnches tcf, which locates them. remote targets, where to execute them, build and evaluate them, parallelizing as much as possible and generating reports about the execution.
The system consists of two parts:
- tcf: the client and test runner; this command-line utility is used to manage the test targets exported by the test target brokers (servers) and to execute test cases on said targets.
- ttbd: the server; this manages test targets connected to them, serving as a proxy for the test cases being run by tcf on behalf of users.
TCF focuses only on execution, leaving reporting, coverage analysis, and etc. to other tools, providing means to feed data into them. It is designed with the goal of having a small footprint and little dependencies.
Report issues and contact the authors by filling issues in https://github.com/intel/tcf/issues.
Visit the quickstart instructions.
Available at http://intel.github.io/tcf
Best practices for contributing available at the guide.