Slide 1

Slide 1 text

Coping With The Broken Web Rodney Rehm - @rodneyrehm

Slide 2

Slide 2 text

Where I come from

Slide 3

Slide 3 text

http://medialize.github.io/URI.js/

Slide 4

Slide 4 text

http://coding.smashingmagazine.com/2012/10/09/designing-javascript-apis-usability/

Slide 5

Slide 5 text

I like making stuff simple

Slide 6

Slide 6 text

… recently at work

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

But…

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

What do you mean by „broken“?

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

… been around for ages

Slide 16

Slide 16 text

Events triggered when clicking on http://rodneyrehm.github.io/select-events/

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

Assumptions… http://www.freefoto.com/preview/41-23-4/American-highway-road

Slide 20

Slide 20 text

… Reality http://farm9.staticflickr.com/8019/7597671400_9dcf23ab7a_o_d.jpg

Slide 21

Slide 21 text

Check your assumptions. In fact, check your assumptions at the door. Lois McMaster Bujold

Slide 22

Slide 22 text

Despair? Opportunity!

Slide 23

Slide 23 text

http://www.flickr.com/photos/mennonitechurchusa-archives/7597671400/in/set-72157630434425392

Slide 24

Slide 24 text

Grokking Results

Slide 25

Slide 25 text

Single result set

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

Aggregate results

Slide 28

Slide 28 text

Beware of the flood

Slide 29

Slide 29 text

Summary and details

Slide 30

Slide 30 text

Tools?

Slide 31

Slide 31 text

Running Tests

Slide 32

Slide 32 text

Running tests

Slide 33

Slide 33 text

Running tests

Slide 34

Slide 34 text

Running tests

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

https://github.com/rodneyrehm/testharness-helper

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

Aggregating Results?

Slide 43

Slide 43 text

Storing results

Slide 44

Slide 44 text

Storing results

Slide 45

Slide 45 text

Test Environment?

Slide 46

Slide 46 text

(some) real devices!

Slide 47

Slide 47 text

(some) real devices!

Slide 48

Slide 48 text

virtual machines

Slide 49

Slide 49 text

virtual machines s

Slide 50

Slide 50 text

Which Browser Is This?

Slide 51

Slide 51 text

github.com/bestiejs/platform.js Identifying browsers

Slide 52

Slide 52 text

Utilities?

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

Central System?

Slide 55

Slide 55 text

CSS WG HTML WG

Slide 56

Slide 56 text

No content

Slide 57

Slide 57 text

64 % 24 % 11 % Approved In Review Unknown

Slide 58

Slide 58 text

Submitted in January

Slide 59

Slide 59 text

No Fun

Slide 60

Slide 60 text

Future?

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

• identify and fix legal issues (who owns tests) • moving to github in progress • extract meta data from specifications for test coverage analysis and linking

Slide 63

Slide 63 text

• centralize test efforts across WGs • run tests in cloud and collect data • to build compatibility tables • show browser support in specifications, WebPlatform.org, anywhere

Slide 64

Slide 64 text

• use github for reviewing test suites • integrate adding tests into WebPlatform.org • make submitting bugs off a test dead simple • painless local development environment

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

No content

Slide 67

Slide 67 text

No content

Slide 68

Slide 68 text

They‘re working on it!

Slide 69

Slide 69 text

Motivation?

Slide 70

Slide 70 text

your tests are run by W3C and browser vendors

Slide 71

Slide 71 text

collected data === articles, workshops, talks === street-cred

Slide 72

Slide 72 text

insights into specifications & credibility for mailing lists

Slide 73

Slide 73 text

You are part of the web, start caring for it!

Slide 74

Slide 74 text

When the web is not doing what you want it to, fight back, WRITE TESTS! Me, I think

Slide 75

Slide 75 text

Recap • testharness.js to run tests • firebase.io to aggregate data • real browsers, devices and BrowserStack • don‘t wait for W3C to get their testing sorted, have some fun now

Slide 76

Slide 76 text

No content

Slide 77

Slide 77 text

Thank You! Questions?

Slide 78

Slide 78 text

TestTheWebForward.org Join the Rebellion™