Unit Test Your First Vue.js Component
A tutorial on unit testing a Vue.js component using Vue Test Utils and Jest, covering setup, best practices, and test implementation.
A tutorial on unit testing a Vue.js component using Vue Test Utils and Jest, covering setup, best practices, and test implementation.
A guide on integrating the Jest testing framework into an Angular application and library, replacing the default Karma runner.
A guide to common pitfalls and best practices for testing asynchronous code using the Jest framework in JavaScript.
A guide on achieving test isolation in React components to improve test reliability and prevent shared mutable state issues.
A developer's enthusiastic review of Jest's developer experience, highlighting its visual diffs, flexible conventions, and friendly CLI.
A developer shares key reasons to love the Jest testing framework, highlighting its zero-config setup, built-in features, and extensibility.
An explanation of JavaScript mocking using a thumb war game example to test a non-deterministic function.
A developer troubleshoots a tricky JavaScript testing error after updating dependencies like React and Jest, despite mocked console methods.
A developer's guide to migrating a Node.js project's test suite from Mocha/Should.js to Jest using codemods, including challenges and solutions.
A developer critiques snapshot testing, arguing it creates unclear tests that erode team trust and are often blindly regenerated when they fail.
A developer's journey from advocating for the AVA testing framework to migrating to Jest due to performance issues and limitations.