Test Automation Experience
"This show brings you the latest trends, tools, and techniques in test automation. Each week, we explore a range of topics related to quality assurance, including continuous integration, automation frameworks, and test-driven development.
In addition to expert insights and real-world examples, we also feature interviews with industry leaders and members of the test automation community. These interviews offer a unique opportunity to learn from the experiences of others and ask questions about the field.
But The Test Automation Experience is more than just a show – it's a community. We encourage our viewers to ask questions, share their own experiences, and engage with us and each other. Whether you're a seasoned pro or just starting out in the field, we invite you to join us and become a part of the conversation."
Test Automation Experience
Testing Fundamentals, Mocking, Vitest, and More
Ever wondered how to master mocking in JavaScript and elevate your automated testing skills?
In this episode of Test Automation Experience, Nikolay sits down with Artem Zakharchenko, a renowned expert with over 3 million downloads of his Mock Service Worker. Artem unveils the secrets behind his success and takes us through his journey at Epic Web Dev, sharing insights from his comprehensive workshops on testing fundamentals and advanced mocking techniques.
CONNECT WITH ARTEM ZAKHARCHENKO:
✅Artem’s GitHub: https://github.com/kettanaito
✅Artem’s Personal Website: https://kettanaito.com/
✅Artem’s X: https://twitter.com/kettanaito
✅EpicWeb Workshop: https://www.epicweb.dev/workshops/testing-fundamentals
✅Artem’s EpicWeb Contributors Page: https://www.epicweb.dev/contributors/artem-zakharchenko
CONNECT WITH NIKOLAY ADVOLODKIN
🌎 WEBSITE: https://ultimateqa.com
🐦 X: https://X.com/Nikolay_A00
💡 LINKEDIN (consider leaving a Recommendation): https://www.linkedin.com/in/nikolayadvolodkin/
👨💻 GITHUB: https://github.com/nadvolod
✨ TIKTOK: https://www.tiktok.com/@nikolay.advolodkin/
📸 INSTAGRAM: https://www.instagram.com/nikolay.advolodkin/
📧 EMAIL: nikolay@saucelabs.com
JOIN THE CONVERSATION!
🎥 Subscribe to our YouTube channel now and get access to the latest exclusive shows, before anyone else! https://www.youtube.com/@test-automation-experience
▶ Sauce YouTube channel: https://www.youtube.com/@SauceLabs_Official
🤝 Community page: https://saucelabs.com/community
🏠 Home Page: https://saucelabs.com/
00:00 Intro
04:23 Test a React Component in 60 seconds
5:44 One big mistake developers make that effect their carrer
09:33 Unit test mocking
11:17 Artem's Testing Fundamentals workshop
16:14 Implementation of beforeAll and afterAll functions
17:57 Abstracting repetitive test setups
20:02 Vite's benefits and features
22:56 Use of Vite Test in conjunction with Vite
25:20 Explicit and straightforward test assertions
27:26 Mocking the date and time in tests
29:17 Setting up controlled date values in tests
31:05 Mocking nextTick function
34:23 Context-dependent nature of mocking &l