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
Fixtures mit Alice und Faker - Lightning Talk
Search
Marcel Führer
August 24, 2016
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Fixtures mit Alice und Faker - Lightning Talk
Marcel Führer
August 24, 2016
More Decks by Marcel Führer
See All by Marcel Führer
Akzeptanztests mit Codeception
mfuehrer82
0
620
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
2
420
The Cost Of JavaScript in 2023
addyosmani
55
10k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Transcript
PHPUSERGROUP DRESDEN FIXTURES MIT ALICE UND FAKER 1
FIXTURES MIT ALICE UND FAKER AGENDA ▸ WARUM FIXTURES? ▸
FAKER ▸ ALICE 2
WARUM FIXTURES ▸ Passende Testdaten ▸ Realitätsnah und zufällig verteilt
3 FIXTURES MIT ALICE UND FAKER
VOR FAKER ▸ Von „Klara Fall“ bis „Rainer Zufall“ 4
FIXTURES MIT ALICE UND FAKER
FAKER ▸ PHP Bibliothek welche Testdaten generiert ▸ https://github.com/fzaninotto/Faker ▸
Länderspezifische Testdaten ▸ Ohne Ende Formatters 5 FIXTURES MIT ALICE UND FAKER
FAKER - FORMATTERS ▸ Methoden zur Erzeugung von Informationen 6
FIXTURES MIT ALICE UND FAKER
FAKER - PROVIDER ▸ Klassen zur Kategorisierung der Formatter ▸
eigene Provider sind möglich 7 FIXTURES MIT ALICE UND FAKER
FAKER - GENERATOR ▸ Klasse zur Registrierung der Provider ▸
unique() - eindeutig ▸ optional() - optional ▸ seed(1) - immer gleiche Werte ▸ Länderspezifisch 8 FIXTURES MIT ALICE UND FAKER
ALICE ▸ PHP Bibliothek ▸ https://github.com/nelmio/alice ▸ Zur Beschreibung von
Entitäten mittels yaml ▸ Interpretiert Faker Formatter ▸ Persistieren mittels ORM 9 FIXTURES MIT ALICE UND FAKER
ALICE - SIMPLE 10 FIXTURES MIT ALICE UND FAKER
ALICE - FAKER 11 FIXTURES MIT ALICE UND FAKER