Javascript Software Testing: unit testing, open source, Jasmine, Karma, Casper.js, QUnit, SinonJS, etc.
The quality of the JavaScript code is often verified with the traditional activities of unit and functional testing. There are however tools that allow checking code before or during its execution to assess its quality and its adherence to coding standards using a process called code analysis. This article presents a list of open source tools to perform static and dynamic code analysis on JavaScript programs.
Running automated tests is a good thing for software quality assurance. Now you have to understand the results of the current test run. You could also be interested to see how your tests results evolve over time. To achieve these goals, you need a tool to produce meaningful tests reports and there are some open source tools to help you do this.
You need to make sure that you test complete user flows. With the open source test automation tool Playwright, you can easily in minutes record a test and run that test and visually see what is happening, providing a cool developer experience.
This presentation is about visual regression testing components via screenshot matching. It will show how you do that in three different libraries/frameworks. Additionally, it will describe how to use Storybook to extract the components from your JavaScript web application.
Nightwatch.js is an integrated open source tool to perform automated end-to-end testing on web applications and websites, across all major browsers. It is written in Node.js and uses the W3C WebDriver API to interact with various browsers.
Cypress has taken the world by storm by brining an easy-to-use open source tool for end-to-end (E2E) automated testing. Its capabilities have proven to be useful for creating stable tests for frontend applications. But end-to-end testing is just a small part of test automation efforts. What about your API? What about your components?
This presentation is about the common mistakes that people make when writing tests. It highlights more aspects like bloated tests which make it hard to figure out what they are about and proper usage of assertions to get better error messages.