A Different Kind of Stub

To enable our real-time logic to be tested without talking over the network, we need to stub out our network code. Although it’s unusual, I’ve found that writing that stub code as part of my production system yields benefits in terms of simpler and more reliable tests. We start working on the stub code for our real-time server in this episode.

  1. E585Remove the Network Complexity

    Mon, 15 Jan ’18
  2. E586Extract the Instantiation

    Wed, 17 Jan ’18
  3. E587From Child to Sibling

    Mon, 22 Jan ’18
  4. E588A Different Kind of Stub

    Wed, 24 Jan ’18
  5. E589A Null Real-Time Server

    Mon, 29 Jan ’18
  6. E590The Wrong ID

    Wed, 31 Jan ’18
  7. E591getLastSentMessage()

    Mon, 5 Feb ’18
  8. E592A Test Without a Network

    Wed, 7 Feb ’18
  9. E593Connect Null Client

    Mon, 12 Feb ’18
  10. E594Null Socket

    Wed, 14 Feb ’18
  11. E595Emit an Event

    Mon, 19 Feb ’18
  12. E596Translating Tests

    Wed, 21 Feb ’18
  13. E597Double Timeout

    Mon, 26 Feb ’18
  14. E598Look How Much Simpler It Is

    Wed, 28 Feb ’18
  15. E599I Love Deleting Code

    Mon, 5 Mar ’18