У нас вы можете посмотреть бесплатно What is Mocking? - Concepts and Best Practices - Software Testing Series #2 или скачать в максимальном доступном качестве, которое было загружено на ютуб. Для скачивания выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
To mock or not to mock? It's a good question that not everyone knows the answer to when developing tests. To answer that, you need to know the concepts around mocking, what fake data and fake interactions are, the pros and cons, etc. 🚨 Subscribe to the newsletter: https://www.lucaspaganini.com/newsletter 📧 Email: [email protected] 🐦 Twitter: / lucaspaganini 📸 Instagram: / lucaspaganini ---------- CHAPTERS 0:00 Introduction 1:01 Fake Interactions 1:48 Fake data 2:25 When to mock 2:39 Mocking pros 4:02 Mocking cons 5:36 Best Practices of Mock Testing 7:02 Don't Stop Here RELATED 1. Static, Unit, Integration, and End-to-End Tests Explained - • Static, Unit, Integration, and End-to... REFERENCES 1. How to test software, part I: mocking, stubbing, and contract testing - CircleCI: https://circleci.com/blog/how-to-test... 2. What is Mocking in Testing? - Piraveena Paralogarajah on medium: / what-is-mocking-in-testing ) 3. What Is Mocking? - Typemock Blog: https://www.typemock.com/what-is-mock... 4. Hand-rolled mocks made easy - InfoWorld: https://www.infoworld.com/article/207... 5. xUnit Test Patterns: Refactoring Test Code - Gerard Meszaros on xUnit Patterns: http://xunitpatterns.com/ 6. Generate dynamic mock data with Mockoon templating system - Mockoon: https://mockoon.com/tutorials/generat... 7. request - Cypress Documentation: https://docs.cypress.io/api/commands/... 8. Mock Testing - Devopedia: https://devopedia.org/mock-testing 9. Faker - Generate massive amounts of fake (but realistic) data for testing and development - Faker-js on GitHub: https://github.com/faker-js/faker 10. Retry, Rerun, Repeat - Cypress Blog: https://www.cypress.io/blog/2020/12/0... 11. Test Doubles: Can You Tell a Fake From a Mock? - WWT: https://www.wwt.com/article/test-doub...) 12. What's the difference between faking, mocking, and stubbing? - Stack Overflow: https://stackoverflow.com/questions/3... 13. Mocks Aren't Stubs - Martin Fowler: https://martinfowler.com/articles/moc... #typescript #programming #testing