You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Overview

RDKB tests involve test scripts verifying various RDKB features.

To execute RDKB tests, RDKB Utils and RDKB test projects are required. The repo details are given below.

Repository Details

Project DescriptionRepositoryBranch
RDKB UtilsRDKB Test related utility APIshttps://code.rdkcentral.com/r/admin/repos/rdk/tools/automatics/rdkv-test-utilsrdk-next
RDKB Test AutomationRDKB Test Scriptshttps://code.rdkcentral.com/r/admin/repos/rdk/tools/automatics/rdkb-testsrdk-next


Guide to Test Execution

 Partner have to do following configurations in Automatics to execute tests.

Orchestration Configuration


Buil

Jenkins Job Configuration

  1. Build and Deploy RDKB Utils

    1. Check out RDKB Utils project.
    2. In pom.xml, replace maven dependency 'automatics-core' with dependency of partner java implementation. Here, 'automatics-core' is inherited via transitive dependency from provider implementation. To replace the maven dependency 'automatics-core' on the fly, script 'pre-build.sh' is available with the source of automatics-core project at location 'automatics-core/src/main/resources/pre-build.sh'
    3. Execute 'mvn clean deploy' after updating with partner java implementation dependency in pom.xml. This will deploy rdkb-utils in self-hosted maven artifact repository. This activity can be automated via jenkins job with pre-build.sh to execute first and then mvn clean deploy.
  2. Execute RDKB Tests

    1. After deploying RDKB Utils, now the tests are ready for execution from Orchestration after the test script details are configured in Orchestration. 


  • No labels