JSFoo 2020

JSFoo 2020

On JavaScript in the enterprise; JS for advanced developers and architects

Rob Richardson

@robrich

JavaScript Tests in Node, the Browser, and CI

Submitted Jun 20, 2020

Good software practices don’t end just because you’re building a thick client in the browser. The JavaScript community is a flourishing boutique of high-quality tools and techniques. We’ll dig into some of the more popular open-source JavaScript patterns that have emerged from the Node community. We’ll see mocha, chai, karma, and headless Chrome in action, look at some great techniques and patterns for browser development, and brush up on things that make JavaScript is a phenomenal place to work.

Outline

This no-slides talk is perfect for those new to unit testing or who need a bit of motivation to test their code. We live-code tests for sync code, async code using callbacks, promise code, and async/await. We write tests to validate behavior, discover behavior, and find bugs. We test code in Node, in a browser, and unit test from a DevOps build. Users leave with a concrete unerstanding of how to get started with JavaScript testing, and hopefully are now motivated to begin.

Requirements

none

Speaker bio

Rob Richardson is a software craftsman building web properties in ASP.NET and Node, React and Vue. He’s a Microsoft MVP, published author, frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high quality software development. You can find this and other talks on https://robrich.org/presentations and follow him on twitter at @rob_rich.

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