Channel | Publish Date | Thumbnail & View Count | Download Video |
---|---|---|---|
Publish Date not found | 0 Views |
Full courses: https://www.iamtimcorey.com/
Source code: https://leadmagnets.app/?ResourceMockingInUnitTests
Patreon: https://patreon.com/IAmTimCorey
Newsletter registration: https://signup.iamtimcorey.com/
Sponsors:
Tuhafeni Angula (Patreon subscriber)
0:00 – Introduction
1:05 – Getting started: demo application code and setup
10:20 – Problems with test methods that manipulate external things (database changes, email senders, etc.)
12:39 – Mockery explained
15:44 – Writing tests with mocking
18:05 – Adding references for testing with MOCK
20:51 – Using statement
22:12 – AutoMock.GetLoose() vs. AutoMock.GetStrict();
23:30 – Using AutoMock: Writing the Unit Test with Mocking
35:06 – Refactoring a method that is subject to a unit test
36:03 – Check data: compare two objects
40:19 – Test method that returns void
48:16 – Testing the SQL call change
52:47 – Summary
53:30 – Advice for beginners
55:15 – What should not be tested and why
58:24 – Summary
59:27 – Learning steps
1:01:42 – Concluding remarks
Please take the opportunity to connect with your friends and family and share this video with them if you find it useful.