imaginary users can save your drupal site

44
Imaginary users can save your Drupal site J-P Stacey & Rich Middleditch 26. aug 14:45 Acquia

Upload: jpstacey

Post on 22-Jul-2015

1.404 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Imaginary users can save your Drupal site

Imaginary users can save your Drupal site

J-P Stacey & Rich Middleditch26. aug 14:45Acquia

Page 2: Imaginary users can save your Drupal site

http://cph2010.drupal.org/node/9178

Page 3: Imaginary users can save your Drupal site

Someone has an idea

Page 4: Imaginary users can save your Drupal site

Standard procedure?

Page 5: Imaginary users can save your Drupal site

Standard procedure?

Page 6: Imaginary users can save your Drupal site

Standard procedure?

Page 7: Imaginary users can save your Drupal site

Imaginary users or “personas”

Personas are not about brainstorming.

But on your Drupal site they'll end up with minds of their own.

Page 8: Imaginary users can save your Drupal site

Each team memberis focussed on the

bottom line.

Everyone's idea ofthe bottom line is

different.

“On the Web, usability is a necessary condition for survival.”

— Jakob Nielsen

Why this solution?

Page 9: Imaginary users can save your Drupal site

Personas in five steps

Name: Dominic Thomson

DOB: 16 January 1964 1957?

Address:          ?

Five step plan?

Page 10: Imaginary users can save your Drupal site

1. Acceptance

Page 11: Imaginary users can save your Drupal site

2. Find the users

Page 12: Imaginary users can save your Drupal site

Elastic user!

Page 13: Imaginary users can save your Drupal site

3. Find the patterns

Page 14: Imaginary users can save your Drupal site

Primary and secondary personas

PRIMARYPERSONA

PRIMARYPERSONA

SECONDARYPERSONA

SECONDARYPERSONA

The space of all functional requirements

Page 15: Imaginary users can save your Drupal site

4. Build the personas

Name: Dominic ThomsonPosition: Assembly Engineer

DOB: 16/01/1957Gender: Male

Address: 9 Southill, Charlbury, OX7 3EW, UK

FLY Aerospace

Page 16: Imaginary users can save your Drupal site

Building a useful persona

I'm motivated by...I want to be able to...

This is annoying...

Page 17: Imaginary users can save your Drupal site

5. Use the personas!

Page 18: Imaginary users can save your Drupal site

How can you use personas?

Help writing specifications Conflict resolution

Willing testerExtra team member

Page 19: Imaginary users can save your Drupal site

1. Help writing specifications

Page 20: Imaginary users can save your Drupal site

“Use standard form fields.

People prefer page elements that they recognise.”

“Don't have dropdown menus.

People don't like them covering up content.”

“We know there are some people out there who hate the things we love... but not sensible people.”

— Steve Krug

2. Conflict resolution

Page 21: Imaginary users can save your Drupal site

3. Extra team member

Page 22: Imaginary users can save your Drupal site

4. Willing tester

Page 23: Imaginary users can save your Drupal site

What do we want them to do?

Load /attendees

Assert some attendees on page

Type “stacey” in the “name” textfieldClick “apply”

and wait

Assert text exists“J-P Stacey”

Page 24: Imaginary users can save your Drupal site

What do we want to find out?

METRIC

WHAT

UXHOW

Page 25: Imaginary users can save your Drupal site

“Nobody knows you're a dog”

Email address

Blocked user

Persona role

Username

(Password)

Page 26: Imaginary users can save your Drupal site

Preparing personas for testing

Live personas are blocked their passwords are all ultra-secure

and they have non-existent email addresses

Your staging personas must be unblockedtheir passwords should be memorable

and all emails sent to you

Page 27: Imaginary users can save your Drupal site

http://github.com/jpstacey/Drupal­UserUnblock

Quick persona prep

Page 28: Imaginary users can save your Drupal site

Recording and replaying

Page 29: Imaginary users can save your Drupal site

Dominic performs a test

DEMO

Page 30: Imaginary users can save your Drupal site

Quick versus slow testing

QUICK SLOW

WHAT HOW

Page 31: Imaginary users can save your Drupal site

Personas everywhere

Page 32: Imaginary users can save your Drupal site

“As a normal user I would like to see a list of the content I've recently flagged when I log in so that I can revisit content I find interesting”

Scenario(s) for doneLog in; flag an item of content; log out and in again; check that the item is on profile page

Persona-driven specification

“As Dominic Thomson I would like to see a list of the content I've recently flagged when I log in so that I can revisit content I find interesting”

Scenario(s) for doneDominic Thomson logs in; flags an item of content; logs out and in again; sees that item on his profile page

Page 33: Imaginary users can save your Drupal site

Don't be afraid of new personas

Page 34: Imaginary users can save your Drupal site

Report bugs with Selenium

Page 35: Imaginary users can save your Drupal site

Test-driven development

Clientrequests

functionality

Recordtest as

personaTest fails

Buildfunctionality

Testsucceeds

Clientsignoff &deploy

Most or all of team agrees: success = done

Page 36: Imaginary users can save your Drupal site

Personas & continuous testing

Page 37: Imaginary users can save your Drupal site

The persona laptop

Page 38: Imaginary users can save your Drupal site

Personas & continuous integration

Page 39: Imaginary users can save your Drupal site

The Selenium RC Server

Page 40: Imaginary users can save your Drupal site

We're now using personas!

Help writing specifications Conflict resolution

Willing testerExtra team member

Page 41: Imaginary users can save your Drupal site

Back to that idea

Page 42: Imaginary users can save your Drupal site

Thank you, Dominic!

Hey, no problem!

Page 43: Imaginary users can save your Drupal site

And thank you!

Creative Commons attributions from Flickr Bulb: Tim Cummins; List: jcrawf3; Portrait: adubber; Notepad: calsidyrose; Desk: keithius; Tesla coil: willivolt; Hand: Damon Duncan; Penguins: nouqraz; Team: atomicshed; Buttons: spikenzie; Pepperpot: hien_it; Elastic dog: quirkyrocket … icon fonts by somerandomdude

http://www.torchbox.com

@torchbox

@jpstacey | @middric

Page 44: Imaginary users can save your Drupal site

http://cph2010.drupal.org/node/9178

Any questions?