Automated Accessibility Tests with sa11y

Accessibility in today’s world is a must! Thus, in the past weeks I’ve spent some time implementing automated tests that check for accessibility issues in Sample Gallery apps. To check for accessibility issues I’ve used sa11y, a set of open source JavaScript libraries that detects machine knowable accessibility issues and that can be used with Jest, WebdriverIO or just generic JavaScript.

Continue reading “Automated Accessibility Tests with sa11y”

Unit testing aura components with Lightning Testing Service and Mocha

When thinking about good quality software we must always have very present that tests automation is a must. There is a full list of tiers and tools that can be used to ensure that your software behaves as expected, bugs typically introduced by refactoring are prevented, and interconnected systems behave well together, as for example your code together with a Salesforce upgrade. In this post I want to focus on how to write unit tests for Lightning Components using Lightning Testing Service (LTS).

Continue reading “Unit testing aura components with Lightning Testing Service and Mocha”

Blog at WordPress.com.

Up ↑