From bff03676feb08acdf1c3e2cc98d9d1f1ba3159ee Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 7 Jun 2012 10:45:45 +0200 Subject: [PATCH] =?UTF-8?q?add=20java=20testing=20doc=20chapter=20and=20li?= =?UTF-8?q?nk=20to=20Munish=E2=80=99s=20blog?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- akka-docs/java/index.rst | 1 + akka-docs/java/testing.rst | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 akka-docs/java/testing.rst diff --git a/akka-docs/java/index.rst b/akka-docs/java/index.rst index 4022092dba..669bd7c362 100644 --- a/akka-docs/java/index.rst +++ b/akka-docs/java/index.rst @@ -24,4 +24,5 @@ Java API extending-akka zeromq microkernel + testing howto diff --git a/akka-docs/java/testing.rst b/akka-docs/java/testing.rst new file mode 100644 index 0000000000..d49ba2512f --- /dev/null +++ b/akka-docs/java/testing.rst @@ -0,0 +1,14 @@ +.. _akka-testkit-java: + +############################## +Testing Actor Systems (Java) +############################## + +Due to the conciseness of test DSLs available for Scala, it may be a good idea +to write the test suite in that language even if the main project is written in +Java. If that is not desirable, you can also use :class:`TestKit` and friends +from Java, albeit with more verbose syntax Munish Gupta has `published a nice +post `_ +showing several patterns you may find useful, and for reference documentation +please refer to :ref:`akka-testkit` until that section has been ported over to +cover Java in full.