More Related Content More from Sauce Labs (20) Testing at Yammer with FooUnit, Jellyfish, and Sauce Labs4. foobarfighter
(twitter, github and freenode)
Friday, July 22, 11
14. so what are you going
to do about it?
Friday, July 22, 11
27. just ship™
we launch features... not tests
Friday, July 22, 11
34. we have a lot of paying
customers now
Friday, July 22, 11
40. how could we have
caught that?
we only had three javascript engineers
Friday, July 22, 11
61. i’m a street light
hi, i’m paul hi my name is peter
we have this setup at yammer
Friday, July 22, 11
62. if you are writing tests
for the browser
Friday, July 22, 11
69. how do you know if
you need unit tests?
Friday, July 22, 11
77. foounit
a brief intro
Friday, July 22, 11
84. test shared code on
client/server
these shenanigans exist at yammer
Friday, July 22, 11
85. test shared code on
client/server
these shenanigans exist at yammer
i’m not gonna lie, this is hard to do
Friday, July 22, 11
94. turn into a jet and fly
into the sun
Friday, July 22, 11
95. var f = require(‘foounit’).globalize();
describe(‘this is a group’, function (){
it(‘has a test’, function (){
expect(myTest).to(runEverywhere);
});
});
f.run();
Friday, July 22, 11
97. it’s a lot like jasmine
there’s reasons for that
Friday, July 22, 11
116. 1337 tests
one more than jquery cause it’s better
Friday, July 22, 11
117. 1337 tests
one more than jquery cause it’s better
l337
Friday, July 22, 11
118. you want to be
successful, right?
Friday, July 22, 11
119. you want to be
successful, right?
write tests
Friday, July 22, 11
121. if you really care about
the numbers
you can run the suites yourself
Friday, July 22, 11
124. you don’t need to test
view code
if your ‘view code’ is just html... cool
Friday, July 22, 11
125. you don’t need to test
view code
if your ‘view code’ is just html... cool
but you are building a big client side app
Friday, July 22, 11
128. it has a lot of tests
Friday, July 22, 11
140. you need enough to
help you refactor with
confidence
Friday, July 22, 11
146. ... if you have that
culture
Friday, July 22, 11
160. foobarfighter
(twitter, github and freenode)
Friday, July 22, 11
161. foounit
http://foounit.org
Friday, July 22, 11