diff --git a/coroutines/docs/images/cotest_1.png b/coroutines/docs/images/cotest_1.png new file mode 100644 index 000000000..fbc671bb4 Binary files /dev/null and b/coroutines/docs/images/cotest_1.png differ diff --git a/coroutines/docs/images/cotest_2.png b/coroutines/docs/images/cotest_2.png new file mode 100644 index 000000000..8ad6ae876 Binary files /dev/null and b/coroutines/docs/images/cotest_2.png differ diff --git a/coroutines/docs/images/cotest_3.png b/coroutines/docs/images/cotest_3.png new file mode 100644 index 000000000..3cbf429ba Binary files /dev/null and b/coroutines/docs/images/cotest_3.png differ diff --git a/coroutines/docs/images/cotest_4.png b/coroutines/docs/images/cotest_4.png new file mode 100644 index 000000000..15dc89347 Binary files /dev/null and b/coroutines/docs/images/cotest_4.png differ diff --git a/coroutines/docs/images/current_1.png b/coroutines/docs/images/current_1.png new file mode 100644 index 000000000..b0238f488 Binary files /dev/null and b/coroutines/docs/images/current_1.png differ diff --git a/coroutines/docs/images/current_2.png b/coroutines/docs/images/current_2.png new file mode 100644 index 000000000..c938c7cf3 Binary files /dev/null and b/coroutines/docs/images/current_2.png differ diff --git a/coroutines/docs/images/current_3.png b/coroutines/docs/images/current_3.png new file mode 100644 index 000000000..e32779f17 Binary files /dev/null and b/coroutines/docs/images/current_3.png differ diff --git a/coroutines/docs/images/current_4.png b/coroutines/docs/images/current_4.png new file mode 100644 index 000000000..7f670e2fd Binary files /dev/null and b/coroutines/docs/images/current_4.png differ diff --git a/coroutines/docs/images/current_5.png b/coroutines/docs/images/current_5.png new file mode 100644 index 000000000..a4cfdff40 Binary files /dev/null and b/coroutines/docs/images/current_5.png differ diff --git a/coroutines/docs/images/product-113121.jpg b/coroutines/docs/images/product-113121.jpg deleted file mode 100644 index 1eef5768c..000000000 Binary files a/coroutines/docs/images/product-113121.jpg and /dev/null differ diff --git a/coroutines/docs/images/product-90593.jpg b/coroutines/docs/images/product-90593.jpg deleted file mode 100644 index aefaa790e..000000000 Binary files a/coroutines/docs/images/product-90593.jpg and /dev/null differ diff --git a/coroutines/docs/images/script.txt b/coroutines/docs/images/script.txt new file mode 100644 index 000000000..4df85da1f --- /dev/null +++ b/coroutines/docs/images/script.txt @@ -0,0 +1,28 @@ +My test case makes a checklist of events that I will expect during the test + +I am starting the code-under-test, with an injected dependancy back to me + +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 + +The call was correct! :-) +Now the checklist tells me how to respond to the call + +The code-under-test has completed and I check its output +Test passed! :-) + + +I say "please start the code-under-test" +I start the code and inject dependency back to me + +I say "I received this mock call" +Inside my test case, I check that the call is correct + +The call was correct! :-) +I say "please return this value" +I return the mock call + +I say "the code-under-test has completed and here is its output" +I check the output +Test passed! :-)