From 2e9e2fad13aa7e8750e105ec6412fed297f284c9 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 20 Feb 2024 14:58:03 +0000 Subject: [PATCH] add all the images to the md file --- coroutines/docs/testing-with-two-computers.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/coroutines/docs/testing-with-two-computers.md b/coroutines/docs/testing-with-two-computers.md index 82d1750a3..bcf24ea99 100644 --- a/coroutines/docs/testing-with-two-computers.md +++ b/coroutines/docs/testing-with-two-computers.md @@ -1,4 +1,20 @@ # Heading Text before -![Test case running on a computer populates a checklist of expected events](/coroutines/docs/images/current_1.png) +![My test case makes a checklist of events that I will expect during the test.](/coroutines/docs/images/current_1.png) +Text after +![I am starting the code-under-test, with an injected dependancy back to me.](/coroutines/docs/images/current_2.png) +Text after +![I received a call on the injected dependency. Thinks: I can't just let my test case continue here. I will use the checklist to find out whether it is correct.](/coroutines/docs/images/current_3.png) +Text after +![The call was correct! Now the checklist tells me how to respond to the call.](/coroutines/docs/images/current_4.png) +Text after +![The code-under-test has completed and I check its output. Test passed!](/coroutines/docs/images/current_5.png) +Text after +![I say "please start the code-under-test". I start the code and inject dependency back to me.](/coroutines/docs/images/cotest_1.png) +Text after +![I say "I received this mock call". Inside my test case, I check that the call is correct.](/coroutines/docs/images/cotest_2.png) +Text after +![The call was correct! I say "please return this value". I return the mock call.](/coroutines/docs/images/cotest_3.png) +Text after +![I say "the code-under-test has completed and here is its output". I check the output. Test passed!](/coroutines/docs/images/cotest_4.png) Text after