JSFoo 2013

All about being creative with JavaScript

Olivier Crameri

@oliviercrameri

Generating tests from code - or how to test better and faster

Submitted Jul 11, 2013

  • Discover the power of dynamic analysis and code crawling for writing and maintaining tests.
  • Learn how to write robust tests that cover ten times more code with ten times less effort than traditional unit tests or integration tests.
  • Discover that testing can (almost) be fun and (definitely) useful.

Outline

  • Alice: Hey Bob, ready for the Big Release. Everything working?
  • Bob: Yeah, sure. Why not?
  • Alice: I don’t know. Did you test your code?
  • Bob: Of course. All the tests pass. What could possibly go wrong?
  • Alice: Well, I guess, nothing… Let’s release and go to JSFoo.

Sounds familiar? We all know how this story ends… and it’s not with Bob and Alice having fun at JSFoo. Unacceptable!

In this talk, I will show how to uncover the power of dynamic analysis to improve the coverage of your tests and find bugs before your users. I will describe the techniques to automatically create more tests starting from a single, simple unit test, and demonstrate how it helps JavaScript developers create better code.

Speaker bio

Olivier is a co-founder of BugBuster, a Switzerland based startup providing a next generation testing solution for Web and JavaScript developers.

Comments

{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more