This repository has been archived by the owner on Aug 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathindex.html
executable file
·170 lines (133 loc) · 5.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Test to Learn</title>
<meta name="description" content="Learn to code via testing">
<meta name="author" content="Aidan Feldman">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="deck/css/reveal.min.css">
<link rel="stylesheet" href="deck/css/theme/default.css" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="deck/lib/css/zenburn.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
document.write( '<link rel="stylesheet" href="deck/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
<!--[if lt IE 9]>
<script src="deck/lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<h1>Test to Learn</h1>
<h3>Aidan Feldman</h3>
<p>
<small><a href="http://api.afeld.me">api.afeld.me</a> / <a href="http://twitter.com/aidanfeldman">@aidanfeldman</a></small>
</p>
<p><a href="https://github.com/afeld/test_to_learn">github.com/afeld/test_to_learn</a></p>
</section>
<section data-background="http://3.bp.blogspot.com/_59TdlP1XdGk/TOR66Ta34TI/AAAAAAAAOVw/TLylr7tMGys/s1600/radioflyer.jpg">
<h2 class="fragment" style="padding: 0.4em; background-color:rgba(0,0,0,0.8)"><span style="padding:0 10px; border:10px solid white">✓</span> learned by testing</h2>
</section>
<section>
<h2>part of getting better...</h2>
<p class="fragment">is overcoming the fear of breaking things</p>
</section>
<section data-background="http://blog.aicr.org/wp-content/uploads/2012/05/bigstock-D-Red-reset-button-on-white-26360654.jpg">
</section>
<section>
<h2>mitigate risk</h2>
<ul>
<li class="fragment">history (e.g. version control)</li>
<li class="fragment">abstraction</li>
<li class="fragment">testing</li>
</ul>
</section>
<section>
<h2>flavors of testing</h2>
<ul>
<li>unit</li>
<li>integration</li>
<li><em>etc.</em></li>
</ul>
</section>
<section>
<h2>unit testing:</h2>
<p>test a piece in isolation</p>
</section>
<section>
<h2>integration testing:</h2>
<p>test a bunch of pieces together</p>
</section>
<section>
<h2>the way i think about it:</h2>
</section>
<section>
<h2>unit testing:</h2>
<p>test a piece in isolation</p>
</section>
<section>
<h2>unit testing:</h2>
<p>test a piece <span style="color:#e7ad52">[and everything below it]</span> in isolation</p>
</section>
<section>
<h2>testing is an art</h2>
<img width="690" height="473" src="http://blog.arlomidgett.com/wp-content/arlo-midgett-photo-daisy2.jpg"/>
<h3 class="fragment">not a science</h3>
</section>
<section>
<p>( <a href="https://github.com/afeld/test_to_learn#readme">group exercise</a> )</p>
</section>
<section>
<h2>testing leads to...</h2>
<ul>
<li class="fragment">writing things to be testable</li>
<li class="fragment">breaking into smaller pieces</li>
<li class="fragment">coding from the outside in (the UX perspective)</li>
</ul>
</section>
<section>
<h1>writing tests forces better code</h1>
</section>
<section>
<img width="640" height="469" src="http://i.neoseeker.com/mgv/60953/953/126/fluttershy_yay_by_zutheskunkd3e8usb_display.png"/>
</section>
<section>
<h1>fin.</h1>
<h3><a href="http://api.afeld.me">api.afeld.me</a> / <a href="http://twitter.com/aidanfeldman">@aidanfeldman</a></h3>
</section>
</div>
</div>
<script src="deck/lib/js/head.min.js"></script>
<script src="deck/js/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
theme: 'night', // available themes are in /css/theme
transition: 'linear', // default/cube/page/concave/zoom/linear/fade/none
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'deck/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'deck/plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'deck/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'deck/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
// { src: 'deck/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'deck/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
// { src: 'deck/plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } }
// { src: 'deck/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>