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

Compare with Current View Page History

« Previous Version 9 Next »

Introduction

Automatics core is the 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

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 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 8

Build Steps

To build the project, developer needs to have JDK 1.8 and Maven 3 setup in their machine. After setup, please follow below steps to deploy Automatics Core to partner's repository.

  • Checkout Automatics Core project from repository (rdk/tools/automatics/automatics-core) with branch (“rdk-next”)
  • In pom.xml, update 'artifact repository url'  in distributionManagement section.

<distributionManagement>

             <repository>

                          <url></url>

            </repository>

 </distributionManagement>  

  • Execute maven command “mvn clean deploy” from checkout folder. This will deploy the Core project to the partner's maven repository.
  • No labels