Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST...

Preview:

Citation preview

V0.8 | 2018-09-24

Kurt Krueger – Senior Field Application Engineer

Automate and Accelerate Software Regression Testing with Jenkins andVectorCAST

2

1. Introduction and Installation

2. Setting up a VectorCAST Job

3. Reports in Jenkins

4. Demo

5. Questions and Answers

Agenda

3

Continuous Testing with Jenkins and VectorCAST

Introduction and Installation

Problem: How can you build and run tests each time a source code change is made?

Continuous Integration and Test is an optimized and distributed approach to building and testing source code.

Jenkins solves this problem

4

Installing the VectorCAST Plugin for Jenkins

Introduction and Installation

Go to Jenkins → Manage Jenkins → Manage Plugins

Select 'Available' tab

Select VectorCAST Execution and install (this will install any additional dependencies including the VectorCAST Coverage plugin)

5

Installing the VectorCAST Plugin for Jenkins

Introduction and Installation

When logged in with admin rights, use the VectorCAST menu on the left to create/delete and update the Jenkins/VectorCAST jobs

6

Installing the VectorCAST Plugin for Jenkins

Introduction and Installation

The plugin provides several operations for adding VectorCAST jobs into Jenkins

7

1. Introduction and Installation

2. Setting up a VectorCAST Job

3. Reports in Jenkins

4. Demo

5. Questions and Answers

Agenda

8

Create Multiple Jobs

Setting up a VectorCAST Job

Enter the Project file and the full path to the file

Then select Create

9

Jobs Automatically Created from the Project

Setting up a VectorCAST Job

10

Update the Node Label

Setting up a VectorCAST Job

Be sure to add the compiler label to the Node

11

Schedule a Job

Setting up a VectorCAST Job

Click on the clock icon to schedule a job

12

Update the Node Label

Setting up a VectorCAST Job

The Build Executor Status will show the jobs running

VectorCAST Change-Based Testing efficiently rebuilds and tests the software based on the impact of the last code changes

13

1. Introduction and Installation

2. Setting up a VectorCAST Job

3. Reports in Jenkins

4. Demo

5. Questions and Answers

Agenda

14

The Jenkins Dashboard

Reports in Jenkins

15

Test Result Report

Reports in Jenkins

16

VectorCAST Reports

Reports in Jenkins

17

Trend Reports

Reports in Jenkins

Test Case Pass/Fail Report

18

1. Introduction and Installation

2. Setting up a VectorCAST Job

3. Reports in Jenkins

4. Demo

5. Questions and Answers

Agenda

19

Jenkins Single Job

Demo

20

Jenkins Multi Job

Demo

21

Continuous Integration yields quantifiable benefits to software quality as well as reduced time-to-market

VectorCAST and Jenkins together provide a scalable and efficient approach to continuous testing of application software.

Summary

Demo

22

Questions and Answers

!?

23 © 2018. Vector Software, Inc. All rights reserved. Any distribution or copying is subject to prior written approval by Vector. V0.8 | 2018-09-24

Authors:Jeffrey Fortin, Kurt KruegerVector Software

More Information!Visit our Website for:> News> Products> Demo Software> Support> Workshops> Contact Addresses

www.vector.com

Recommended