Revising for Tests!
A key part of any front-end codebase is good unit tests, so to that end, I've been revising my testing knowledge and best practices, and have just completed Stephen Grider's 'React Testing Library and Jest: The Complete Guide' course on Udemy.com!
The course is a good resource for educating beginners and revising core skills related to testing best practices. Grider provides a clear path explaining the basic mechanics behind the purpose of good unit tests, and even covers how to handle issues such as caching or some of the specific warning messages and data behaviours associated with mocking elements or third-party libraries.
Whilst the course doesn't dive too deeply into overall testing strategies – such as what to target and where the decision to handle testing via unit testing or end-to-end testing (i.e. with tools such as Cypress.io) can be applied – it proved to be a useful refresher on my self-learning journey!