Sha256: f7923e3cd09522dd6b9a2ec62a9f6c881761637e94feb8bc9cc85895ba9e583d

Contents?: true

Size: 442 Bytes

Versions: 17

Compression:

Stored size: 442 Bytes

Contents

# What is a test double?

A test double is a generalization of something that replaces a real object to
make it easier to test another object. It's like a stunt double for tests. The
following are test doubles:

* Mocks
* Stubs
* Fakes
* Spies
* Proxies

*Learn more: <http://xunitpatterns.com/Test%20Double.html>*

Currently RR implements mocks, stubs, proxies, and spies. Fakes usually require
custom code, so it is beyond the scope of RR.

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
rr-3.1.1 doc/01_test_double.md
rr-3.1.0 doc/01_test_double.md
rr-3.0.9 doc/01_test_double.md
rr-3.0.8 doc/01_test_double.md
rr-3.0.7 doc/01_test_double.md
rr-3.0.6 doc/01_test_double.md
rr-3.0.5 doc/01_test_double.md
rr-3.0.4 doc/01_test_double.md
rr-3.0.3 doc/01_test_double.md
rr-3.0.2 doc/01_test_double.md
rr-3.0.1 doc/01_test_double.md
rr-3.0.0 doc/01_test_double.md
rr-1.2.1 doc/01_test_double.md
rr-1.2.0 doc/01_test_double.md
rr-1.1.2 doc/01_test_double.md
rr-1.1.2.rc1 doc/01_test_double.md
rr-1.1.1 doc/01_test_double.md