Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

Automatics core is the base part of the system that performs framework that manages the test execution.  It performs following functionality

  • Initialize devices for execution
  • Identify tests and create testng suite at runtime
  • Perform Pre-Test initialization
  • Execute testng tests
  • Update test results to Automatics orchestration
  • Perform Post-Test cleanup

Software Requirement

  • JDK 1.8
  • Maven 3

Setup

  • Pull the Automatics Core project from the repository (rdk/tools/automatics/automatics-core) with branch (“rdk-next”)
  • In pom.xml and update the url in distributionManagement with the respective artifact repository url in the place as mentioned below. Automatics core is required to be deployed to partner's repository. Partner implementation project requires core to be added as maven dependency for using its APIs.

<distributionManagement>

             <repository>

                          <url></url>

            </repository>

 </distributionManagement>     

...

Reports

Automatics Core captures device trace logs and generates html execution report of tests execution. They are available at artifacts location of executed jenkins Job.

Html Report - target/logs/

Trace logs - target/settoptrace/

Setup

Automatics Core is required to be deployed as artifact in maven repository. The details for building the project and deploy are given below.

Software Requirement

  • Self-hosted maven artifact repository
  • Maven 3
  • JDK 17

Build Steps

Following page will provide details on creating Jenkins job for Automatics Core deployment. The job will clone the RDKM source repository, build the project and deploy artifact automatics-core-{version}.jar to partner's self hosted artifact repository.

Automatics Core : Jenkins Deployment Job configuration