...

/

Challenge: Using Mocks on Loosely Coupled Code

Challenge: Using Mocks on Loosely Coupled Code

Apply your learnings in dependencies and mocks to complete a test challenge.

Introduction

In this project, you’ll write unit tests that test the behavior of a class using mocks. An assessment rubric is provided to guide you on whether or not you have applied the principles taught in this chapter.

Self assessment rubric

I have… Emergent Satisfactory Excellent
Used the principles in the previous lessons Did not apply principles taught in the previous section Partially used principles taught from the previous section Used all the principles taught in the previous section
Used mocks Mocks not used Started to use mocks Mocks used extensively; used advanced features of a mocking framework

Application code summary

...