Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST...
Transcript of Software Testing 101 - assets.vector.com · 3 Continuous Testing with Jenkins and VectorCAST...
![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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/1.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/2.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/3.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/4.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/5.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/6.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/7.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/8.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/9.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/10.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/11.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/12.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/13.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/14.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/15.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/16.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/17.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/18.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/19.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/20.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/21.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/22.jpg)
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](https://reader030.fdocuments.us/reader030/viewer/2022040215/5ed7a59148b98015c2020e6e/html5/thumbnails/23.jpg)
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