(→Component Architecture View) |
(→Meetings/ Planning) |
||
| Line 159: | Line 159: | ||
* [[Quality/QA-tools/MCTS-Test-Automation-Design/meeting-2010-11-30|Workshop on November 30th 2010]] | * [[Quality/QA-tools/MCTS-Test-Automation-Design/meeting-2010-11-30|Workshop on November 30th 2010]] | ||
* [[Quality/QA-tools/MCTS-Test-Automation-Design/proof-of-concept-planning|Planning the PoC]] | * [[Quality/QA-tools/MCTS-Test-Automation-Design/proof-of-concept-planning|Planning the PoC]] | ||
| + | * [[Quality/QA-tools/MCTS-Test-Automation-Design/poc-implementation|PoC Implementation]] | ||
!!!!!!!!!!! WORK IN PROGRESS !!!!!!!!!!!
Contents |
This document provides a technical architecture and system design for MCTS Test Automation environment. The purpose is to introduce a new subsystem to the existing MeeGo test automation environment (OTS), where external devices can be connected and controlled on test case or test step level. In this context an external device can for example be, a network simulator, a WLAN analyzer or even another DUT. The new subsystem utilizes test tools already in place in MeeGo by extending their functionality, and also introduces additional components to provide needed new functionality. Suitable open-source will also be utilized as much as it is rationale to do. Intended readers for this document are the developers contributing MeeGo QA Tools area and MCTS test asset developers. Contributions to this document are welcome.
This document first gives an insight to the overall system with some background information before moving to the system architecture and detailed design chapters. Document focuses on solving following design issues:
| Term | Definition |
|---|---|
| DUT | Device Under Test |
| OTS | Link to wiki |
| test-definition | Link to wiki |
| testrunner-lite | Link to wiki |
| testrunner | Link to wiki |
Current OTS environment allows to execute test cases in a single DUT. When executing automated functional test cases in a simulated live environment, it is usually required to verify the result from another device. An example from such test case would be a voice call between two or more DUTs. This is a typical master – slave test case, where master DUT is used to initiate MO call, which is then verified in the receiving slave device. Another situation, when test case verdict needs to be verified from external device is for example tests related to audio playback. In this case the result is fetched from audio analyzer for example. This design will introduce new messaging and communication method to the system, which is used to handle interaction between devices. The below picture illustrates the system overview.
Any assumptions, dependencies and requirements regarding the system and operating environment are listed here.
Any global limitations or constraints that have a significant impact on the design of the system's software are listed here.
For controlling multiple devices and executing commands either sequential or parallel, some short of event/mesaging mechanism is clearly needed. Implementing such subsystem from scratch would require too much effort. Thus existing open solutions are studied and utilized for this. Also extending some of the existing test tools (e.g. OTS) with such functionality would make the architecture too complex. To keep architecture modular, the component controlling handling the communication should be its own subsystem, which then will be connected to OTS.
This section describes the chosen architecture for the system. Also, the alternative architectures, which have been considered are discussed here.
The below picture illustrates the layered architecture of the system. NOTE: only the essential components are shown in the picture.
The picture below, illustrates the component view of the architecture. Each component in the diagram represents an individual subsystem (executable, library or data). For simplicity, only the relevant component and interfaces are described. Note: component names are preliminary.
Rationale, why this approach was chosen.
This section describes architectures which have been considered.
This section is meant for meeting and planning activities related to this work.