Zakazane produkcje
Znajdź zawartość
Wyświetlanie wyników dla tagów 'Vitest' .
Znaleziono 2 wyniki
-
Released 10/2024 MP4 | Video: h264, 1920x1080 | Audio: AAC, 44.1 KHz, 2 Ch Genre: eLearning | Language: English | Duration: 48 Lessons ( 1h 31m ) | Size: 420 MB Learn to mock functions, time, globals, network, and modules. Practice real-world scenarios using Vitest to write effective and maintainable tests. First, you need to know what to mock. Then, find the right way to mock that thing so it doesn't compromise your test suite. Over-mock, and your tests become pointless. Under-mock, and they get brittle instead. In either case, you put in so much effort, and you don't feel like you're getting much in return. This is where Artem comes in. He's been proving developer misconceptions around mocking wrong for nearly a decade, and he's here to make you a mocking pro. Free Download What You'll Learn In this hands-on workshop, you'll learn The purpose of mocking; What to mock and when; How to write mocks that bring value instead of being a maintenance chore; How to separate your mocks from implementation details; Type safety strategies for your mocks; And all the mocking techniques you will need to test your code! By solving targeted, real-world problems using the Vitest framework, you'll gain a comprehensive understanding of mocking and finally unlock it as a useful tool in your testing arsenal. Workshop Structure This workshop contains 6 exercise blocks dedicated to various techniques on mocking different data types. Boundaries Understand what mocking really is, and learn how it helps you create test boundaries. See what each mock you introduce does to your tested code using visual metaphors. Mocking Functions Functions are at the heart of JavaScript logic. Learn how to mock functions for effective input-output testing. Create mock functions, spy on function calls, and mock function implementation to tap into the right behaviors of the tested code. Mocking Date and Time Eliminate the side effects of ever-changing date and time in your tests. Learn how to freeze time and mock date/time-dependent code to ensure consistent test results across different runs and time zones. Mocking Globals Explore how to mock implicit dependencies, in a non-intrusive way. Learn to mock global values, methods, and environment variables to create the perfect test setup without meddling with things you don't own. Mocking Network Gain control over network communication and test your client-side code reliably. Intercept requests and mock responses using Mock Service Worker. Reproduce various network scenarios, from success and error responses to offline behavior and response timing. Mocking Modules Understand when to use module mocking and explore alternative techniques before you do. Learn how to mock modules in a type-safe and efficient way using built-in APIs in Vitest. Who This Workshop Is For This workshop is meant for all developers, both those who are new to automated testing and those who've been writing tests for years. If you are unsure when to introduce mocks into your test suite, or how to do that so you don't have to refactor it the next day, this workshop was made specifically for you. Homepage https://www.epicweb.dev/workshops/mocking-techniques-in-vitest Screenshot Rapidgator https://rg.to/file/2e3e783ba6d661d7ec73f122fea4234d/llxxe.Mocking.Techniques.in.Vitest.rar.html Fikper Free Download https://fikper.com/tVTtLNld8F/llxxe.Mocking.Techniques.in.Vitest.rar.html No Password - Links are Interchangeable
-
- Mocking
- Techniques
-
(i 1 więcej)
Oznaczone tagami:
-
Free Download Testing in React with Vitest Released: 09/2024 Duration: 1h 6m | .MP4 1280x720, 30 fps(r) | AAC, 48000 Hz, 2ch | 143 MB Level: Intermediate | Genre: eLearning | Language: English This course guides you through the process of setting up and testing web applications using Vitest integrated with the React Testing Library and other essential libraries. Learn how to set up a React app with Vite, install dependencies, and initialize your project, as you explore the basics of Vitest and how it can fit into your testing strategy with instructor Cyrus Ndirangu. Configure ESLint and Prettier to maintain code quality and style consistency, before you get started with your first unit test. Progressively, discover best practices for testing application state and hooks quickly and efficiently. By the end of the course, you'll be ready to write tests that validate your application's functionality, including testing mock API requests and ensuring correct routing using the React Router. With practical examples and expert guidance throughout, this course shows you why testing is so crucial and how to use it to improve your development workflow. Homepage https://www.linkedin.com/learning/testing-in-react-with-vitest TakeFile https://takefile.link/4vzbsrtlx2nv/avbpz.Testing.in.React.with.Vitest.rar.html Rapidgator https://rg.to/file/2612f4d89020426aa2b73b6abe854e57/avbpz.Testing.in.React.with.Vitest.rar.html Fikper Free Download https://fikper.com/Hj8gB9Gd4G/avbpz.Testing.in.React.with.Vitest.rar.html No Password - Links are Interchangeable