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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Marcel Führer
August 24, 2016
97
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
600
Featured
See All Featured
Between Models and Reality
mayunak
4
460
The Cult of Friendly URLs
andyhume
79
7k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
480
GitHub's CSS Performance
jonrohan
1033
470k
Thoughts on Productivity
jonyablonski
76
5.4k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Ethics towards AI in product and experience design
skipperchong
2
380
From π to Pie charts
rasagy
1
370
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
3k
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