Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Fixtures mit Alice und Faker - Lightning Talk
Search
Marcel Führer
August 24, 2016
87
0
Share
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
590
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
Exploring anti-patterns in Rails
aemeredith
3
370
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
380
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
240
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1.5k
Designing for Performance
lara
611
70k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.2k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
2.8k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.7k
sira's awesome portfolio website redesign presentation
elsirapls
0
260
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
210
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