Home / Companies / PubNub / Blog / Post Details
Content Deep Dive

JavaScript Testing: Idiot Proofing Your Code

Blog post from PubNub

Post Details
Company
Date Published
Author
Michael Carroll
Word Count
1,188
Language
English
Hacker News Points
-
Summary

JavaScript Engineer Jarrod Overson, from Shape Security, delivered an engaging presentation at the SF JavaScript Meetup, focusing on enhancing code maintainability through testing practices. His recommendations included utilizing tools like JSHint and ESLint for customizable linting, reducing cyclomatic complexity to make code easier to test, and simplifying unit testing with plugins such as Karma, Grunt, and Gulp. Overson emphasized the importance of automating build processes and enforcing code style guidelines to prevent manual errors and maintain consistency. At PubNub, rigorous testing procedures for their SDKs involve tools like Jenkins, Testswarm, and BrowserStack, with automated scripts managing the testing environment and ensuring continuous integration through systematic testing and feedback loops.