23
V0.8 | 2018-09-24 Kurt Krueger – Senior Field Application Engineer Automate and Accelerate Software Regression Testing with Jenkins and VectorCAST

Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

  • Upload
    others

  • View
    17

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

V0.8 | 2018-09-24

Kurt Krueger – Senior Field Application Engineer

Automate and Accelerate Software Regression Testing with Jenkins andVectorCAST

Page 2: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

2

1. Introduction and Installation

2. Setting up a VectorCAST Job

3. Reports in Jenkins

4. Demo

5. Questions and Answers

Agenda

Page 3: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

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

Page 4: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

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)

Page 5: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

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

Page 6: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

6

Installing the VectorCAST Plugin for Jenkins

Introduction and Installation

The plugin provides several operations for adding VectorCAST jobs into Jenkins

Page 7: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

7

1. Introduction and Installation

2. Setting up a VectorCAST Job

3. Reports in Jenkins

4. Demo

5. Questions and Answers

Agenda

Page 8: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

8

Create Multiple Jobs

Setting up a VectorCAST Job

Enter the Project file and the full path to the file

Then select Create

Page 9: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

9

Jobs Automatically Created from the Project

Setting up a VectorCAST Job

Page 10: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

10

Update the Node Label

Setting up a VectorCAST Job

Be sure to add the compiler label to the Node

Page 11: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

11

Schedule a Job

Setting up a VectorCAST Job

Click on the clock icon to schedule a job

Page 12: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

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

Page 13: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

13

1. Introduction and Installation

2. Setting up a VectorCAST Job

3. Reports in Jenkins

4. Demo

5. Questions and Answers

Agenda

Page 14: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

14

The Jenkins Dashboard

Reports in Jenkins

Page 15: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

15

Test Result Report

Reports in Jenkins

Page 16: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

16

VectorCAST Reports

Reports in Jenkins

Page 17: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

17

Trend Reports

Reports in Jenkins

Test Case Pass/Fail Report

Page 18: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

18

1. Introduction and Installation

2. Setting up a VectorCAST Job

3. Reports in Jenkins

4. Demo

5. Questions and Answers

Agenda

Page 19: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

19

Jenkins Single Job

Demo

Page 20: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

20

Jenkins Multi Job

Demo

Page 21: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

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

Page 22: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

22

Questions and Answers

!?

Page 23: Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST Introduction and Installation Problem: How can you build and run tests each time a source

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