Current section: End-to-End Mocking 4 exercises

Reading Email from Disk in Test Environment

Loading exercise


00:00 So we've got the email on disk, and now we need to read that email. So we're going to add a little utility to require the email from disk, and then you're going to write or use that utility inside of the test to go and read that email. So this one's also pretty quick. There's not a lot to this one, but it is an important concept.

00:18 So get to it, and when you're done, the test should pass.