Languages & Frameworks

Angular Testing Library

Published: Apr 13, 2021
Apr 2021

As we continue developing web applications in JavaScript, we continue enjoying the Testing Library approach of testing applications; and carry on exploring and gaining experience with its packages — beyond that of React Testing Library. Angular Testing Library brings all the benefits of its family when testing UI components in a user-centric way, pushing for more maintainable tests focused primarily on behavior rather than testing UI implementation details. Although it falls short in documentation, Angular Testing Library does provide good sample tests that helped us in getting started faster for various cases. We've had great success with this testing library in our Angular projects and advise you to trial this solid testing approach.