Posts tagged as Testing
#Testing
Vue.js Testing Made it Easy (with Testing Library)
How Testing Library helps you to write better integration test
How to mock Axios HTTP calls with Jest
How to unit test components that have HTTP calls.
Why you shouldn't pay too much attention to your code coverage
High code coverage doesn't guarantee quality: You can write tests that cover every line but miss edge cases or core functionality.
10 Tips for Writing Better Tests
1. Think documentation 2. Isolate your tests 3. Keep it flat 4.Only mock what you can't control 5. Avoid assertion in loops (forEach/...) 6...
How to mock Date with Jest
A guide on how to deal with unit tests that uses the JavaScript Date object.