Mocking repos with Dynamic Proxies
Exploring an alternative approach to mocking Spring Data repositories using Dynamic Proxies for in-memory testing implementations.
Exploring an alternative approach to mocking Spring Data repositories using Dynamic Proxies for in-memory testing implementations.
Key takeaways from a GraphQL schema design course, covering mocking, naming conventions, nullable fields, and schema evolution.
A tutorial on using a JavaScript fake API with mock data to build a React frontend when a backend isn't available.
Discusses the pitfalls of mocking API clients in tests and suggests mocking `window.fetch` directly for better confidence.
A tutorial on testing GraphQL resolvers with Jest, covering authentication, error handling, and happy/sad path scenarios.
A tutorial on how to mock Firebase database and authentication features using Jest for unit testing in JavaScript/Node.js.
A tutorial on testing Axios API calls in Jest, including mocking requests and handling success/error cases with code examples.
A guide to mocking the JavaScript Date object in Jest for consistent testing, covering timezone configuration and mocking Date.now.
A tutorial on writing tests for Apollo Client queries and mutations in a React application using a mocked GraphQL server.