SlideShare ist ein Scribd-Unternehmen logo
Martin Ruprecht, 06. Juni 2012


                Test-Driven JavaScript
                Development

Montag, 11. Juni 2012
Guten Morgen!

                        • Martin Ruprecht
                        • Entwickler bei Mayflower GmbH seit 2008
                        • @mrupilo
                        • martin.ruprecht@mayflower.de

Montag, 11. Juni 2012
Java Tools
Montag, 11. Juni 2012
JavaScript Tools
Montag, 11. Juni 2012
„Um professionell JavaScript
                           entwickeln zu können,
                                 muss ich
                 Tool- und Test-getrieben arbeiten!“




Montag, 11. Juni 2012
jsTestDriver




Montag, 11. Juni 2012
Server & Testframework
Montag, 11. Juni 2012
Montag, 11. Juni 2012
Demo!




Montag, 11. Juni 2012
Test-Driven
                        Development!



Montag, 11. Juni 2012
Tests sind Feedback!
Montag, 11. Juni 2012
Tests sind Doku!
Montag, 11. Juni 2012
Tests als Basis für CI
Montag, 11. Juni 2012
TDD feels good!
Montag, 11. Juni 2012
„Der TDD Workflow
                          muss rocken!“




Montag, 11. Juni 2012
Tests müssen schnell sein!
Montag, 11. Juni 2012
Tests müssen isoliert von einander
                                     laufen!
Montag, 11. Juni 2012
Tests müssen wiederholbar sein!
Montag, 11. Juni 2012
„Bei TDD muss ich mein
                   Denken umkehren!“




Montag, 11. Juni 2012
TDD Mantra
Montag, 11. Juni 2012
Start simple!
Montag, 11. Juni 2012
Test fail!
Montag, 11. Juni 2012
Implementiere die Funktionalität in
                          der einfachsten Form
Montag, 11. Juni 2012
Test win!
Montag, 11. Juni 2012
Refactoring!
Montag, 11. Juni 2012
...
Montag, 11. Juni 2012
Ergebnis: Clean Code that works!
Montag, 11. Juni 2012
Demo!




Montag, 11. Juni 2012
Fazit
                        • Professionelle Entwicklung erfolgt Tool- und
                          Test-getrieben.
                        • Test-Driven Development macht nicht nur
                          Spaß sondern steigert die Qualität enorm.
                        • RED / GREEN / REFACTOR
                        • Coding Katas bieten eine optimale
                          Grundlage um TDD zu lernen / üben.


Montag, 11. Juni 2012
Fragen?
Montag, 11. Juni 2012
Wie kann ich weitermachen?
                        • Mehr Infos zu jsTestDriver:
                         • Sebastian Springer, Qualitätssicherung bei
                            Webprojekten (Salon 1 14.00 Uhr)
                          • Jakob Westhoff, JavaScript QA: jsTestDriver
                            & sinon.js richtig nutzen (Salon 2 14.00 Uhr)
                        • Nimm teil an einem Coding Dojo / mache
                          Coding Katas


Montag, 11. Juni 2012
Literatur

                        • Test-Driven Development by Example, Kent
                          Beck
                        • Test-Driven JavaScript Development,
                          Christian Johansen




Montag, 11. Juni 2012
Feedback please!

                        • https://joind.in/6653
                        • Twitter @mrupilo
                        • martin.ruprecht@mayflower.de


Montag, 11. Juni 2012
Vielen Dank für eure
                          Aufmerksamkeit!
Montag, 11. Juni 2012
Bildnachweis
                        •   http://www.flickr.com/photos/ontario_wanderer/3496185271/sizes/z/in/photostream/
                        •   http://www.flickr.com/photos/global-jet/483825828/sizes/z/in/photostream/
                        •   http://www.flickr.com/photos/mortimer/3758383978/sizes/z/in/photostream/
                        •   http://www.flickr.com/photos/estimmel/181914110/
                        •   http://www.flickr.com/photos/mybigtrip/68011728/
                        •   http://www.flickr.com/photos/ohsohappytogether/4102831371
                        •   http://www.flickr.com/photos/gnislew/629816655
                        •   http://www.flickr.com/photos/zerodoze/3254882752/sizes/m/in/photostream/
                        •   http://www.flickr.com/photos/flrnt/457917184/sizes/z/in/photostream/
                        •   http://www.flickr.com/photos/bohemiandolls/4662564268/sizes/z/in/photostream/
                        •   http://www.flickr.com/photos/seandreilinger/133305683/sizes/z/in/photostream/
                        •   http://www.flickr.com/photos/68114781@N04/6286488787/
                        •   http://www.flickr.com/photos/mercurialn/2419237431/sizes/z/in/photostream/
                        •   http://www.flickr.com/photos/42931449@N07/5397530925/sizes/z/in/photostream/




Montag, 11. Juni 2012

Weitere ähnliche Inhalte

KEY
Mongo DB - Segen oder Fluch
PDF
Native Cross-Platform-Apps mit Titanium Mobile und Alloy
PDF
Schnelle Geschäfte
PDF
Bridging the Gap Between APIs and Customers
PPTX
Computer concepts presentation 2
PDF
Everything OAuth
PDF
Introd to CS. Presentation
PDF
node-fs
Mongo DB - Segen oder Fluch
Native Cross-Platform-Apps mit Titanium Mobile und Alloy
Schnelle Geschäfte
Bridging the Gap Between APIs and Customers
Computer concepts presentation 2
Everything OAuth
Introd to CS. Presentation
node-fs

Andere mochten auch (20)

KEY
Link extraction and classification
PDF
Api Design & The Paris Subway
PDF
tarpipe WordPress plugin demo
PDF
Activity Streams And Contexts
KEY
The Executable Web
PDF
Maintainable consumers
PDF
Shoeism - Frau im Glück
PDF
Autenticação e Autorização (in portuguese)
PDF
Plugging holes — javascript memory leak debugging
PDF
Who's using your API?
PDF
Salt and pepper — native code in the browser Browser using Google native Client
PDF
APIs Love to Chat
PDF
How to Automate API Discovery
PDF
The importance of /me
KEY
Is OAuth Really Secure?
KEY
Information Retrieval Challenges
PDF
API Code Generation
PDF
Why and what is go
PDF
Piwik anpassen und skalieren
PDF
Asynchronous Microservices in nodejs
Link extraction and classification
Api Design & The Paris Subway
tarpipe WordPress plugin demo
Activity Streams And Contexts
The Executable Web
Maintainable consumers
Shoeism - Frau im Glück
Autenticação e Autorização (in portuguese)
Plugging holes — javascript memory leak debugging
Who's using your API?
Salt and pepper — native code in the browser Browser using Google native Client
APIs Love to Chat
How to Automate API Discovery
The importance of /me
Is OAuth Really Secure?
Information Retrieval Challenges
API Code Generation
Why and what is go
Piwik anpassen und skalieren
Asynchronous Microservices in nodejs
Anzeige

Ähnlich wie Test-Driven JavaScript Development IPC (10)

PDF
Seo fashion
PDF
Macheten für den Testdschungel
PDF
Lucenes Welt - Ordnen, finden, klassifizieren
PPT
eparo – Usability 2.0 (Vortrag OMF Hamburg – Rolf Schulte Strathaus)
PPTX
120715 agile requirements_handout
PDF
10 Tipps und Tricks für Content Affiliates - Affiliate Conference 2011
PPTX
Agile Softwareentwicklung mit Lotus Notes
PPTX
MGB speed creation_fusionmodeling_20120712
PDF
18 Tips fuer gute Praesentationen
PDF
Lucene's Welt
Seo fashion
Macheten für den Testdschungel
Lucenes Welt - Ordnen, finden, klassifizieren
eparo – Usability 2.0 (Vortrag OMF Hamburg – Rolf Schulte Strathaus)
120715 agile requirements_handout
10 Tipps und Tricks für Content Affiliates - Affiliate Conference 2011
Agile Softwareentwicklung mit Lotus Notes
MGB speed creation_fusionmodeling_20120712
18 Tips fuer gute Praesentationen
Lucene's Welt
Anzeige

Mehr von Mayflower GmbH (20)

PDF
Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...
PDF
Agile Anti-Patterns
PDF
JavaScript Days 2015: Security
PDF
Vom Entwickler zur Führungskraft
PPTX
Produktive teams
PDF
Usability im web
PDF
Rewrites überleben
PDF
JavaScript Security
PDF
50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...
PDF
Responsive Webdesign
PDF
Pair Programming Mythbusters
PDF
Bessere Software schneller liefern
PDF
Von 0 auf 100 in 2 Sprints
PDF
Agilitaet im E-Commerce - E-Commerce Breakfast
PDF
PHP Dependency und Paket Management mit Composer
PDF
HTML5 und node.js Grundlagen
PDF
Max Köhler - Real-Time-Monitoring
PDF
Yii - Next level PHP Framework von Florian Facker
PDF
REST - Hypermedia und Sicherheit
PDF
Zend Framework meets Doctrine 2
Mit Maintenance umgehen können- Fixt du noch Bugs oder lieferst du schon neue...
Agile Anti-Patterns
JavaScript Days 2015: Security
Vom Entwickler zur Führungskraft
Produktive teams
Usability im web
Rewrites überleben
JavaScript Security
50 mal produktiver - oder warum ich gute Teams brauche und nicht gute Entwick...
Responsive Webdesign
Pair Programming Mythbusters
Bessere Software schneller liefern
Von 0 auf 100 in 2 Sprints
Agilitaet im E-Commerce - E-Commerce Breakfast
PHP Dependency und Paket Management mit Composer
HTML5 und node.js Grundlagen
Max Köhler - Real-Time-Monitoring
Yii - Next level PHP Framework von Florian Facker
REST - Hypermedia und Sicherheit
Zend Framework meets Doctrine 2

Test-Driven JavaScript Development IPC