Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Webanwendungen testen
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Oliver Klee
April 05, 2017
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Webanwendungen testen
Oliver Klee
April 05, 2017
More Decks by Oliver Klee
See All by Oliver Klee
Softwarequalität für öffentliche TYPO3-Extensions
oliverklee
0
55
Psychologische Sicherheit
oliverklee
0
43
Generative KI, Ethik und Nachhaltigkeit
oliverklee
0
170
Gewaltfreie Kommunikation: ein Crashkurs
oliverklee
0
140
Team-Management-Plattform
oliverklee
0
100
Vertrauen in Teams & Führung
oliverklee
0
330
Software-Qualität von TYPO3-Extensions automatisieren
oliverklee
0
65
Vertrauen in Teams & Führung
oliverklee
0
190
Testing von TYPO3-Extensions
oliverklee
0
110
Other Decks in Technology
See All in Technology
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
150
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
450
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
160
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
V8のArray.prototype.flatを最大約20倍速くするまでと、巨大OSSへの大規模コミットの道のり
riyaamemiya
0
290
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
150
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
しろおびから始める!ログ活用の第一歩
shumei_ito
0
950
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
440
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
570
Metadata - Section 1: HTML Basics
mohab1
0
120
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
A better future with KSS
kneath
240
18k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
RailsConf 2023
tenderlove
30
1.6k
Thoughts on Productivity
jonyablonski
76
5.4k
The Curse of the Amulet
leimatthew05
3
16k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
710
Transcript
Testen von Webanwendungen Oliver Klee, 2017-04 @oliklee
[email protected]
Tests automatisieren?
Test-Level http://dabrorius.github.io/2015/06/tested-be-thy-name.html
Unit-Tests sind klein und schnell
Integrationstests testen das Zusammenspiel von Komponenten
Systemtests testen das große Ganze
Test-Typen
Blackbox-Tests testen das nach außen Sichtbare
Whitebox-Tests wie genau es innen funktioniert testen,
Functional Tests
Akzeptanztests
Anti- Zombie- Tests-
Regressionstests
Smoketests
Smoketests
Story-Tests für Behavior-Driven Development (BDD)
Wieso denn bluß?
Manuelles Testen ist mühsam
Automatisierte Tests sind schnell
Unit-Tests für die Realty-Manager- Extension
>1600 Tests
< 60 Sekunden
Sicher sein, dass der Code das Richtige tut
Verhindern, dass deine Änderungen etwas anderes kaputt machen
Verhindern, dass andere Leute deinen Code kaputtmachen
Auch bei komplexen Projekten nichts kaputt machen
Baue ein Sicherheitsnetz fürs Refactoring
Verbessere die Struktur des Codes
Grün fühlt sich gut an!
Wo testen?
Auf dem lokalen Rechner
Auf dem Server
Continuous Integration öfter mal einchecken =
Der Continuous-Integration-Server überwacht den Code Git-Repository Push / Pull-Request Continuous-
Integration-Server Hey, eine Änderung! Checks laufen lassen Bericht
Code-Review-Frontends Continuous Integration und Git-Frontends Git-Frontends Continuous Integration GitHub GitLab
CI Travis CI Gerrit Jenkins Semaphore
Was bei der CI testen? automatisierte Tests Commit- Messages Coding-Standards
Code linten Code-Metriken Performance statische Analyse verschiedene Umgebungen Baut es?
None
None
Deployment Continuous
Besonderheiten mit Webanwendungen
Tools
Tools Akzeptanztests-Framework Capybara (Ruby) Driver Selenium WebKit Poltergeist RackTest Tests-Framework
RSpec Test::Unit MiniTest BDD-Framework Cucumber (Ruby) Behat (PHP) SpecFlow (C#) Gherkin
Gherkin
Womit anfangen? etwas Einfachem Starter-Tests Abhängigkeiten auflösen Code- Zerbrechlichkeit Kosten
von Bugs Regression-Tests neue Features Refactorings