JavaScript Testing and Code Analysis at Facebook

Avik Chaudhuri, Software Engineer at Facebook, and Jeff Morrison, Software Engineer at Facebook discusses how Facebook handle software testing and code analysis of its JavaScript code.

To encourage engineers to continue to make changes to the codebase, we spent some time identifying various important traits around automated testing, and used our insights to build a tool (called Jest) that makes it as simple and straightforward as possible for developers to write tests. The code we write must not only exploit the full flexibility and expressiveness offered by the JavaScript language, but also clear an incredibly high bar for robustness, performance, and hackability. At Facebook, we’re working on adding static types to JavaScript without disempowering the dynamism that makes JavaScript great.

Video producer:

Related Videos: