But What About Testing?
-
Upload
outsystems -
Category
Technology
-
view
833 -
download
1
Transcript of But What About Testing?
![Page 1: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/1.jpg)
But What About Testing?
Andrew Burgess
Senior Software Developer
Zen Internet Ltd, UK
www.zen.co.uk
http://bit.ly/whatabouttesting
![Page 2: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/2.jpg)
Agenda
Background
Getting started
How it works
Live demo: new test
Actual test
Advanced techniques
TDD
Environments
Roadmap
Summary
Questions
Lunch!
![Page 3: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/3.jpg)
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
![Page 4: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/4.jpg)
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
![Page 5: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/5.jpg)
History
Unit Testing Framework Community
OutSystems
NextStep 2013
![Page 6: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/6.jpg)
Installing
![Page 7: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/7.jpg)
Picking Tests
![Page 8: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/8.jpg)
Running Tests
![Page 9: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/9.jpg)
Test Results
![Page 10: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/10.jpg)
Individual Steps
![Page 11: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/11.jpg)
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
![Page 12: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/12.jpg)
Demo - New Test
Calculator UI
Calculator Core Business
Service
Calculator Unit Tests
Unit Test Template
![Page 13: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/13.jpg)
Actual Test
Arrange
Act
Assert
Handle errors
Rollback
![Page 14: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/14.jpg)
Advanced Techniques
Entity
Entity
Assert X
Assert Y
Assert Z
![Page 15: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/15.jpg)
Test Driven Development
Fail
Pass
Re-factor
Tests
Implementation
Test #1
Test #2
Test #3
Dummy
Version #1
Version #2
Republish
![Page 16: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/16.jpg)
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
![Page 17: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/17.jpg)
Roadmap
Java version Timing reports
Lifetime integration
Organise big test sets
Your ideas!
![Page 18: But What About Testing?](https://reader033.fdocuments.in/reader033/viewer/2022060109/5551d9a2b4c90501638b468d/html5/thumbnails/18.jpg)
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