Sep 2020
31 Mon
1 Tue
2 Wed
3 Thu
4 Fri 08:40 AM – 05:25 PM IST
5 Sat 08:45 AM – 05:25 PM IST
6 Sun
abhinav sharma
Components are the building blocks of modern web applications. Unit and Integration tests for these components become heavily dependent on the implementation of components over a period of time. These tests don’t verify user interactions with the component. They sometimes give false positives, test cases fail though the component works correctly and false negatives, test cases pass though the component doesn’t work correctly.
As the application evolves the code also evolves. Developers sometimes fix test cases even if functionality remains the same. This results in poor developer experience as new developers need to know implementation while fixing any broken test cases and software maintainability also becomes difficult.
Learn to mitigate the above-mentioned problems by using the user-centric testing approach. The approach verifies user interactions with the component instead of checking the internal details of the component. This makes tests more readable and better manageable.
Abhinav works as a Software Engineer at Zendrive where he manages the analytics dashboard and internal front-end applications. He is passionate about React, testing, design patterns, algorithms, and web performance optimizations. Having spoken professionally on some of these topics at local conferences, he also writes blog posts about them.
{{ gettext('Login to leave a comment') }}
{{ gettext('Post a comment…') }}{{ errorMsg }}
{{ gettext('No comments posted yet') }}