But What About Testing?

Post on 12-May-2015

833 views 1 download

Tags:

Transcript of But What About Testing?

But What About Testing?

Andrew Burgess

Senior Software Developer

Zen Internet Ltd, UK

andrew.burgess@zeninternet.co.uk

www.zen.co.uk

http://bit.ly/whatabouttesting

Agenda

Background

Getting started

How it works

Live demo: new test

Actual test

Advanced techniques

TDD

Environments

Roadmap

Summary

Questions

Lunch!

Agile Platform at Zen OutSystems Agile Platform

Purchase Ordering

Faults Data

Centre

Ordering Customers Management

Legacy Databases

BT Integration

Development effort Change effort Deployment effort Stability Understanding

? Testing

Testing Mix Development

Unit Testing

Test Driven Development

System Testing

Test Plans

Find / Setup Data

Manual UI Tests

• Business logic, calculations • Dependent on implementation API • Start of development • Fast to run / re-run

• General behaviour • Dependent on UI • End of development • Slower to run

History

Unit Testing Framework Community

OutSystems

NextStep 2013

Installing

Picking Tests

Running Tests

Test Results

Individual Steps

How It Works Web Services

Environment Meta-data

Espace Espace

Espace Espace

Espace Web

Service Web

Method Results

Scanner Process

Runner Process

Code Under Test

Test #1

Test #2

Test #3

WSDL

Action

Action

Demo - New Test

Calculator UI

Calculator Core Business

Service

Calculator Unit Tests

Unit Test Template

Actual Test

Arrange

Act

Assert

Handle errors

Rollback

Advanced Techniques

Entity

Entity

Assert X

Assert Y

Assert Z

Test Driven Development

Fail

Pass

Re-factor

Tests

Implementation

Test #1

Test #2

Test #3

Dummy

Version #1

Version #2

Republish

Environments Testing Development Production

T1 T2 T3

T4 T5 T6

T1 T2 T3

T4 T5 T6

Run tests relevant to area under

development

Run all tests after anything published

No tests deployed or run in Production

environment

T1 T2 T3

T4 T5 T6

Roadmap

Java version Timing reports

Lifetime integration

Organise big test sets

Your ideas!

Summary • Background • How to use it • How it works • Test driven development • Environments • Further information

Less time testing Simpler UI tests Refactoring 4-layer design Have

a go! Join the team! Suggest

stuff! http://bit.ly/whatabouttesting