Posts

  • Test Double in Swift - Stub

    We replace a real object with a test-specific object that feeds the desired indirect inputs into the system under test.

  • Test Double in Swift - Mock and Spy

    Mock and Spy, use to test interactions between objects. We capture the indirect outputs or inputs of the SUT as they occur and compare.

  • Test Double in Swift - Fake

    A Fake Object offers limited functionality like the real object. But the implementation is lightweight. The fake object avoids the complications that make the real thing a difficult dependency.

  • Test Double in Swift - Dummy

    Dummy objects are passed around but never actually used. Usually, they are just used to fill parameter lists. e.g. Type attributes or method parameters.

  • How to Use the Next Activity

    An Activity Log (also known as an Activity Diary or a Job Activity Log) is a written record of how you spend your time.