Rebecca Murphey talks at Full Frontal 2012
It’s one thing to write the code you need to write to get something working; it’s another thing to write the code you need to write if you want to be able to prove that it works — and that it keeps working as you refactor and add new features. In this talk, we’ll look at what it means to write testable JavaScript code, and even write and run a few tests using Grunt and the Mocha testing framework.
Original source
20 responses to “6. Writing Testable JavaScript”
one word: awesome!!!… actually another one: thanks!
Lazy articulation is so fucking annoying in public speakers. Does it really hurt to show some respect to the audience and speak at a normal level of clarity?
Very good presentation! Thank you!
Awesome presentation!
I love your perspective on testing. If testing wasn't important then large JavaScript libraries e.g. Angular would not have them.
But guess what………
They do 🙂
You're a good speaker. tnx
I think that even if you don't write test code, you're still doing TDD, it's just in your mind. You have an idea of what the result should be, and you build to that idea. Then you (hopefully) write tests after the fact. Doing TDD and actually writing the tests just formalizes a process you do in your mind, and saves you from having to then write tests to pass with the code you've written, rather than writing code that passes your tests.
Nice presentation.
Great presentation, great work thanks!
Terrific presentation! Really solidifies and explains the importance of unit testing.
smart ho
imho this is the best explanation why write unit tests!
Hi guys, i need a good tutorial on unit testing with mocha, any one can redirect me, please ?
Rebecca talks are always awesome
Rebecca is still good to listen to even with a cold. Glad she didnt drop out of the conf
Great, great talk!
speakerdeck [dot] com/ rmurphey/ writing-testable-javascript
Where is the link to the slides? I would like to see her capybara code.
One of my favourite talks from the Conf.
The web is for people who can't do Math. Great presentation, by the way.