Test Double

Terminology differs, but in general “test double” is an overaching term for a non-production object that is used as part of a test in place of a production object. There are several different types:

The same test double framework may be able to be used to create different types of test double. For example, in rspec-mocks:

More Info