Skip to content

3.2. Standards: Requirements for building testing suites

Ulrond edited this page Oct 18, 2024 · 2 revisions

Overview

This details the requirements for generating and building testing suites for the RDK-E Project for the vendor layer

A document outlining the tests for external interfaces will be created. This document will detail how to use the python_raft infrastructure to test the following:

  • Selecting testing suite requirements from the platform-specific deviceSettings.yaml.
  • Defining module-specific options for downloading assets required for testing.
  • Building the necessary components for testing.
  • Utilizing sc docker to access the toolchain.
  • Tests should be designed to be platform independent, and driven by yaml configuration / profiles (see example: https://github.com/rdk-e/hal/wiki/Validation-Profiles).

The module must be buildable and testable using the specified methods. A phased delivery model with collaboration between Tata and Sky teams is required.

Levels of Test

The levels of test to be implemented are defined here:

https://github.com/rdkcentral/ut-core/wiki/3.-Standards:-Levels-of-Test-for-Vendor-Layer

Testing Frameworks:

Phased Delivery with Checkpoints

  • RRDI (Research, Review, Design, Implement)

The following phases will be followed for delivery, with checkpoints at each stage:

  1. Research

    • Each component team will provide a list of suggested tests.
    • The team will research the requirements.
    • Findings will be documented, and a proposal will be generated.
  2. Review

    • Architecture will review the requirements and suggest amendments.
    • The document will remain in review until approved.
  3. Design

    • Engineering Team will design the module and its requirements.
    • Architecture will review, provide feedback, and approve the design.
  4. Implement

    • Engineering Team will implement the module based on the approved design.
    • Architecture will review each stage, provide feedback, and finally sign off on the completed implementation.
Clone this wiki locally