SlideShare a Scribd company logo
Test-Driven Development with Plone
                 Plone Conference Arnhem 2012
                             Timo Stollenwerk
Testing ???
Do not break things!




                   Timo Stollenwerk
What do we get?


●
    Code that works
●
    Proof that is works
●
    Lower defect rate
●
    Cheaper bug fixing
Test-Driven Development
Test-Driven Development
Test-Driven Development
Test-Driven Development
What do we get?

●
    Shorter development
    cycles
●
    Fast development
    process
●
    Satisfaction
●
    Fun!
No code without a failing test
Make test pass (quickly)
Test
Fix
Refactor
What do we get?


●
    Clean Code that
    works
●
    Agile code
Testing in Plone
Testing Pyramid
Integration Test: Dexterity Type

●
    Schema
●
    FTI
●
    Factory
●
    Adding
●
    View
Unit Testing
Mocking
Functional Testing
Functional Tests

●
    „Second line of test
    defense.“ (Martin
    Fowler)
●
    Testable specification
●
    Failure in a
    functional test >
    missing unit test
Robot Framework
                  Acceptance
                     Tests
Robot Framework
                  Acceptance
                     Tests
There is more...
Book Recommendations
Questions?


  http://github.com/tisto/example.tdd
Test-Driven Development with Plone
                    Timo Stollenwerk
                    contact@timostollenwerk.net
                    twitter: @timostollenwerk
                    irc: tisto

More Related Content

PDF
Einführung Test-driven Development
PPTX
Unit Testing and TDD 2017
PDF
Tdd red-green-refactor
PDF
Pragmatic Introduction to Python Unit Testing (PyDays 2018)
PPTX
Why test automation projects are failing
PPTX
Value of Unit Testing
PPTX
Winning the battle against Automated testing
ODP
Testing Philosphies
Einführung Test-driven Development
Unit Testing and TDD 2017
Tdd red-green-refactor
Pragmatic Introduction to Python Unit Testing (PyDays 2018)
Why test automation projects are failing
Value of Unit Testing
Winning the battle against Automated testing
Testing Philosphies

What's hot (19)

PDF
TDD and Unit Testing in Golang
PPTX
Put the Tests Before the Code
PDF
Unit testing in PHP
PDF
UPC Plone Testing Talk
PDF
Agile test
PDF
Testing: Heaven or Hell
PPTX
Aistė Stikliutė - Testing in continuous delivery
PDF
Effective Unit Testing
PPTX
ATDD with Pepino
PPTX
Unit Testing SharePoint Applications
PPS
Why Unit Testingl
PDF
Agile Programming Systems # TDD intro
PDF
Is this how you hate unit testing?
PDF
Unit testing
PDF
Unit vs. Integration Tests
PPTX
Android tdd
PPTX
Verification and Validation in Manual Testing
PPTX
Benefit From Unit Testing In The Real World
PDF
Automated testing
TDD and Unit Testing in Golang
Put the Tests Before the Code
Unit testing in PHP
UPC Plone Testing Talk
Agile test
Testing: Heaven or Hell
Aistė Stikliutė - Testing in continuous delivery
Effective Unit Testing
ATDD with Pepino
Unit Testing SharePoint Applications
Why Unit Testingl
Agile Programming Systems # TDD intro
Is this how you hate unit testing?
Unit testing
Unit vs. Integration Tests
Android tdd
Verification and Validation in Manual Testing
Benefit From Unit Testing In The Real World
Automated testing
Ad

Viewers also liked (8)

KEY
Abrindo dados
PDF
Open web & Dados Abertos
PDF
TDC 2012 - You, Me and Opendata
PPT
Apresentação Alagoas Digital 2009
PDF
Cidadão Participativo
PPT
Civic Hacking: O novo jeito de fazer política
ODP
46 apresentação siconv sicaf
ODP
I Oficina Técnica de Publicação de Dados Abertos e Transparência Ativa
Abrindo dados
Open web & Dados Abertos
TDC 2012 - You, Me and Opendata
Apresentação Alagoas Digital 2009
Cidadão Participativo
Civic Hacking: O novo jeito de fazer política
46 apresentação siconv sicaf
I Oficina Técnica de Publicação de Dados Abertos e Transparência Ativa
Ad

Similar to Test-Driven Development with Plone (20)

PDF
Plone Testing Tools And Techniques
PDF
Test-Driven Development
PDF
Fearless Coding with Test Driven Development
PDF
Deliver Faster with BDD/TDD - Designing Automated Tests That Don't Suck
PPTX
2016 10-04: tdd++: tdd made easier
PPTX
Test Driven Development
PDF
Testing: an Introduction and Panorama
PPTX
Test Driven Development - a Practitioner’s Perspective
PPTX
Understanding TDD - theory, practice, techniques and tips.
PPTX
BizSpark SF Lightning Talk: "Refactoring and Test-Driven Development" by Math...
KEY
Test Driven Development - For Girl Geeks Night Sydney
PDF
20140925 fistb keynote
PPTX
The Test way
PDF
Design for Testability
PDF
An Introduction to Test Driven Development
PDF
Getting started with Test Driven Development
PDF
test
PDF
test
PPTX
Getting started with Test Driven Development - Ferdous Mahmud Shaon
PPTX
Unit tests & TDD
Plone Testing Tools And Techniques
Test-Driven Development
Fearless Coding with Test Driven Development
Deliver Faster with BDD/TDD - Designing Automated Tests That Don't Suck
2016 10-04: tdd++: tdd made easier
Test Driven Development
Testing: an Introduction and Panorama
Test Driven Development - a Practitioner’s Perspective
Understanding TDD - theory, practice, techniques and tips.
BizSpark SF Lightning Talk: "Refactoring and Test-Driven Development" by Math...
Test Driven Development - For Girl Geeks Night Sydney
20140925 fistb keynote
The Test way
Design for Testability
An Introduction to Test Driven Development
Getting started with Test Driven Development
test
test
Getting started with Test Driven Development - Ferdous Mahmud Shaon
Unit tests & TDD

More from Timo Stollenwerk (20)

PDF
German Aerospace Center (DLR) Web Relaunch
PDF
Performance Testing (Python Barcamp Cologne 2020)
PDF
Python & JavaScript
PDF
Roadmap to a Headless Plone
PDF
Plone.restapi - a bridge to the modern web
PDF
Divide et impera
PDF
The Butler and The Snake (Europython 2015)
PDF
Hypermedia APIs mit Javascript und Python
PDF
Plone Testing & Continuous Integration Team Report 2014
PDF
The Beauty and the Beast - Modern Javascript Development with AngularJS and P...
PDF
The Butler and the Snake - JCICPH
PDF
The Butler and the Snake - Continuous Integration for Python
PDF
AngularJS & Plone
PDF
Who let the robot out? Qualitativ hochwertige Software durch Continuous Integ...
PDF
PDF
Who let the robot out? - Building high quality software with Continuous Integ...
PDF
The Future Is Written - Building next generation Plone sites with plone.app.c...
PDF
Plone Einführung
PDF
Mock testing mit Python
PDF
ZCA: A component architecture for Python
German Aerospace Center (DLR) Web Relaunch
Performance Testing (Python Barcamp Cologne 2020)
Python & JavaScript
Roadmap to a Headless Plone
Plone.restapi - a bridge to the modern web
Divide et impera
The Butler and The Snake (Europython 2015)
Hypermedia APIs mit Javascript und Python
Plone Testing & Continuous Integration Team Report 2014
The Beauty and the Beast - Modern Javascript Development with AngularJS and P...
The Butler and the Snake - JCICPH
The Butler and the Snake - Continuous Integration for Python
AngularJS & Plone
Who let the robot out? Qualitativ hochwertige Software durch Continuous Integ...
Who let the robot out? - Building high quality software with Continuous Integ...
The Future Is Written - Building next generation Plone sites with plone.app.c...
Plone Einführung
Mock testing mit Python
ZCA: A component architecture for Python

Recently uploaded (20)

PPTX
Programs and apps: productivity, graphics, security and other tools
PPT
Teaching material agriculture food technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PPTX
Big Data Technologies - Introduction.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Empathic Computing: Creating Shared Understanding
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Encapsulation theory and applications.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Approach and Philosophy of On baking technology
Programs and apps: productivity, graphics, security and other tools
Teaching material agriculture food technology
The AUB Centre for AI in Media Proposal.docx
Reach Out and Touch Someone: Haptics and Empathic Computing
Big Data Technologies - Introduction.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
20250228 LYD VKU AI Blended-Learning.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Empathic Computing: Creating Shared Understanding
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Chapter 3 Spatial Domain Image Processing.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
Understanding_Digital_Forensics_Presentation.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
Encapsulation theory and applications.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Building Integrated photovoltaic BIPV_UPV.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Approach and Philosophy of On baking technology

Test-Driven Development with Plone