Skip to main content

Stub tools for use in testing

Project description

Stubble is a collection of tools for writing stubs in unit tests.

Using stubs allows one to decouple one unit test from real code unrelated to it - you write a fake class to take the place of a real one (which this test is not testing).

Stubble ensures, however, that the test will break should the interface of the stub differ from that of the real class it is a stub for.

Project details


Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page