- include move of doc samples out of akka package also in the includecode directives - fix broken serialization docs, which require one thing in the akka package
10 lines
340 B
ReStructuredText
10 lines
340 B
ReStructuredText
.. _testkit-example:
|
|
|
|
########################
|
|
TestKit Example (Scala)
|
|
########################
|
|
|
|
Ray Roestenburg's example code from `his blog <http://roestenburg.agilesquad.com/2011/02/unit-testing-akka-actors-with-testkit_12.html>`_ adapted to work with Akka 2.x.
|
|
|
|
.. includecode:: code/docs/testkit/TestkitUsageSpec.scala#testkit-usage
|
|
|