Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies...

16
Insightful Solutions :: Innovative Technologies

Transcript of Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies...

Page 1: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Page 2: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

HOW TO PUT THE RIGHT TYPES OF AUTOMATED TESTS INTO THE RIGHT AUTOMATED BUILDS.

Automated Tests into Automated Builds!

2

Page 3: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Automated Builds into Automated Tests

5

Automate Boring!

Build and Test

Consistently

Improve Quality

Page 4: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Automation of the Software Process

• Software Development has at least 4 types of automated testing

– Unit Testing

– Acceptance Testing

– Performance Testing

– UI Testing

6

Page 5: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Automating Building Software

7

Automation Benefits

• Repeatable

• Scalable Regression Testing

Automation Non Benefits

• Cannot take different paths

Page 6: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Types of Builds

8

Developer • Done Locally

• Should Get Latest before Compile.

• Done at Feature level

Project level • Integration

• All checked in code compiles

• All Automated Tests Pass

• Deploy to integration Level

Page 7: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Testing Assumptions

9

UAT

Unit Test

Primarily Exploratory

Tests

Automated Functional Tests

Manual Tests

Page 8: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Build Automation Types

Continuous Integration

Nightly Builds

QA Deployment

10

Page 9: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Testing Patterns

Unit Testing Test Driven

Development

11

Page 10: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Ideal Time Spend on Tests

12

Page 11: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Acceptance Testing VS. Unit Testing

QA helps write AC.

Developers write and Run

Unit Tests

13

Page 12: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Acceptance Testing VS. Unit Testing

Developers hook code

into AC.

Unit Tests test one piece of functionality

14

Page 13: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

GUI Testing VS. Acceptance Testing

GUI Tests are fragile.

AC does not test the User

Interface

15

Page 14: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

GUI Testing VS. Acceptance Testing

GUI Tests can be

repetitive.

AC tests should be repetitive

16

Page 15: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

17

Page 16: Insightful Solutions :: Innovative Technologies · Insightful Solutions :: Innovative Technologies Erics Bio •Eric Landes has been involved with the IT industry for close to 20

Insightful Solutions :: Innovative Technologies

Erics Bio

• Eric Landes has been involved with the IT industry for close to 20 years. He is currently a Solution Architect with AgileThought. He has been using Agile methods for the past 6 years, in a Team Lead/Project Manager capacity. He has presented on Kanban, automated acceptance tests, and other agile topics at different agile conferences, and user group meetings. Eric has a CSM and is a Microsoft MVP. For more information, check out his web site, http://ericlandes.com

19