Top Banner
Infor Confidential Copyright © 2001-2008 Infor Global Solutions Agile Testing Experiment in BIS
23

Agile Testing

Jan 22, 2015

Download

Technology

Ocean Dong

A software dev team implemented agile testing way. This presentation is a nice summary.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Agile Testing

Infor Confidential Copyright © 2001-2008 Infor Global Solutions

Agile Testing Experiment in BIS

Page 2: Agile Testing

2

Quick Background Info

About BIS

About Automated Testing of BIS

Let’s Start With What’s Agile?

Page 3: Agile Testing

3 Copyright © 2001-2006 Infor Global Solutions

Agile Means…

Kill Waste

Page 4: Agile Testing

4 Copyright © 2001-2006 Infor Global Solutions

What’re Wastes?

Too MuchToo Early

Too Little

Too Late

Duplicate

Page 5: Agile Testing

5 Copyright © 2001-2006 Infor Global Solutions

Previously…

Duplicate

Too Late/Little

Page 6: Agile Testing

6 Copyright © 2001-2006 Infor Global Solutions

Can You Imagine…

Iteration N

RELEASE By Every Iteration

Page 7: Agile Testing

7

How BIS Does

IMMEDIATE Scripting

+

Keep Scripts ALIVE

Page 8: Agile Testing

8

IMMEDIATE Scripting

Benefit:RICHER “Done”: Both Production Code And Testing Suite

Page 9: Agile Testing

9

IMMEDIATE Scripting

Challenges

• Habit’s Change: Script Without Test Case Doc

• Much More Time Cost Than Writing Case

• Start Scripting Before Feature’s Done

• Technical Steps/Verifications

Solution: EASY Scripting

Page 10: Agile Testing

10

IMMEDIATE Scripting: EASY Scripting (1)

Easy DSL Wrapper

Scripting LIKE Writing Test Case

Low Level Scripting

(BIS Testing) Domain Specific Language

Page 11: Agile Testing

11

IMMEDIATE Scripting: EASY Scripting (2)

Easy PRECONDITION Facility

• Data Driven Without Script

• Standard Template

• Automatic Setup and Teardown

• Ensure Independence of Script No Supposition Before Execution No Pollution After Execution

Page 12: Agile Testing

12 Copyright © 2001-2006 Infor Global Solutions

IMMEDIATE Scripting: EASY Scripting (3)

Easy DEVELOPER’S Support

• Build Agile Testing Infrastructure

• Implement UI First in Use Case Construction

• Provide Technical Wrapper Methods

• Review Script Demo

Page 13: Agile Testing

13 Copyright © 2001-2006 Infor Global Solutions

Behind IMMEDIATE Scripting: BIS AT Framework

Page 14: Agile Testing

14 Copyright © 2001-2006 Infor Global Solutions

Take a Break. 10 Slides Left.

Coming Next: Keep Scripts ALIVE

Page 15: Agile Testing

15

Keep Scripts ALIVE

Benefit:More RELIABLE “Done”: Not Only Verify New Features, But Also Ensure Old Ones Unbroken

REGRESSION Everyday

Page 16: Agile Testing

16

Keep Scripts ALIVE

Challenges

• Complexity In Running Bulk Scripts

• Large Effort of Result Analysis

• Adapt To Current Development Process

Solution:

CQC (Continuous Quality Checking)

Page 17: Agile Testing

17

Keep Scripts ALIVE: CQC Server

The (N+1)th Tester

BIS

Fully Automatic

Customized Process

Smart Reporting

Page 18: Agile Testing

18 Copyright © 2001-2006 Infor Global Solutions

Keep Scripts ALIVE: CQC Process

Page 19: Agile Testing

19

Keep Scripts ALIVE: CQC Driven Development

Page 20: Agile Testing

20

That’s All?

People s Improvement

IMMEDIATE Scripting

+

Keep Scripts ALIVE

+

?

Page 21: Agile Testing

21

People’s Improvement

When’s the Best Time To Start Automating?

Can We Really Trust Automated Test?

Is Finishing Script On Time As Important As Finishing Feature Construction?

Mind Change

Better Planning

New Feature First And Bug Fixing Second?

Is Testing Just Tester’s Work?

Page 22: Agile Testing

22

In the Future, or Soon…

Better DSL With Groovy

Distributed CQC

Easier Bug Reporting/Reproducing With CQC

Scripting For Bug

Page 23: Agile Testing

23

Thanks