From 1c78d724ccb9821e2f52fa15b1545f68e1f4345c Mon Sep 17 00:00:00 2001 From: Arnout Engelen Date: Mon, 29 May 2017 03:21:25 -0700 Subject: [PATCH] Reworded 'Asynchronous Testing' intro a bit (closes #23054) (#23055) --- akka-docs/src/main/paradox/scala/testing.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/akka-docs/src/main/paradox/scala/testing.md b/akka-docs/src/main/paradox/scala/testing.md index ae22863116..9edd01352f 100644 --- a/akka-docs/src/main/paradox/scala/testing.md +++ b/akka-docs/src/main/paradox/scala/testing.md @@ -15,13 +15,12 @@ Be sure to add the module `akka-testkit` to your dependencies. ## Asynchronous Testing: `TestKit` -When you are reasonably sure that your actor's business logic is correct, the -next step is verifying that it works correctly within its intended -environment@scala[ (if the individual actors are simple enough, possibly because they use the -`FSM` module, this might also be the first step)]. The definition of the -environment depends of course very much on the problem at hand and the level at -which you intend to test, ranging for functional/integration tests to full -system tests. The minimal setup consists of the test procedure, which provides +Testkit allows you to test your actors in a controlled but realistic +environment. The definition of the environment depends of course very much on +the problem at hand and the level at which you intend to test, ranging from +simple checks to full system tests. + +The minimal setup consists of the test procedure, which provides the desired stimuli, the actor under test, and an actor receiving replies. Bigger systems replace the actor under test with a network of actors, apply stimuli at varying injection points and arrange results to be sent from