Merge pull request #1998 from jozic/multijvm-doc
=doc Fix some typos and update sample output on multi-jvm-testing page
This commit is contained in:
commit
b9f9d314d4
1 changed files with 8 additions and 10 deletions
|
|
@ -28,7 +28,7 @@ Here is an example Build.scala file for sbt 0.12 that uses the MultiJvm plugin:
|
||||||
import sbt._
|
import sbt._
|
||||||
import Keys._
|
import Keys._
|
||||||
import com.typesafe.sbt.SbtMultiJvm
|
import com.typesafe.sbt.SbtMultiJvm
|
||||||
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.{ MultiJvm }
|
import com.typesafe.sbt.SbtMultiJvm.MultiJvmKeys.MultiJvm
|
||||||
|
|
||||||
object ExampleBuild extends Build {
|
object ExampleBuild extends Build {
|
||||||
|
|
||||||
|
|
@ -72,7 +72,7 @@ Here is an example Build.scala file for sbt 0.12 that uses the MultiJvm plugin:
|
||||||
"test" @crossString@,
|
"test" @crossString@,
|
||||||
"com.typesafe.akka" %% "akka-multi-node-testkit" % "@version@" %
|
"com.typesafe.akka" %% "akka-multi-node-testkit" % "@version@" %
|
||||||
"test" @crossString@,
|
"test" @crossString@,
|
||||||
"org.scalatest" %% "scalatest" % "1.9.2-SNAP2" % "test",
|
"org.scalatest" %% "scalatest" % "2.0" % "test",
|
||||||
"junit" % "junit" % "4.10" % "test"
|
"junit" % "junit" % "4.10" % "test"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -190,19 +190,17 @@ spawned, one for each node. It will look like this:
|
||||||
|
|
||||||
> multi-jvm:run sample.Sample
|
> multi-jvm:run sample.Sample
|
||||||
...
|
...
|
||||||
[info] Starting JVM-Node1 for sample.SampleMultiJvmNode1
|
[info] * sample.Sample
|
||||||
[info] Starting JVM-Node2 for sample.SampleMultiJvmNode2
|
[JVM-1] Hello from node 1
|
||||||
[info] Starting JVM-Node3 for sample.SampleMultiJvmNode3
|
[JVM-2] Hello from node 2
|
||||||
[JVM-Node1] Hello from node 1
|
[JVM-3] Hello from node 3
|
||||||
[JVM-Node2] Hello from node 2
|
|
||||||
[JVM-Node3] Hello from node 3
|
|
||||||
[success] Total time: ...
|
[success] Total time: ...
|
||||||
|
|
||||||
|
|
||||||
Changing Defaults
|
Changing Defaults
|
||||||
=================
|
=================
|
||||||
|
|
||||||
You can chenge the name of the multi-JVM test source directory by adding the following
|
You can change the name of the multi-JVM test source directory by adding the following
|
||||||
configuration to your project:
|
configuration to your project:
|
||||||
|
|
||||||
.. code-block:: none
|
.. code-block:: none
|
||||||
|
|
@ -281,6 +279,6 @@ the sbt prompt.
|
||||||
Multi Node Additions
|
Multi Node Additions
|
||||||
====================
|
====================
|
||||||
|
|
||||||
There has also been some additions made to the ``SbtMultiJvm`` plugin to accomodate the
|
There has also been some additions made to the ``SbtMultiJvm`` plugin to accommodate the
|
||||||
:ref:`experimental <experimental>` module :ref:`multi node testing <multi-node-testing>`,
|
:ref:`experimental <experimental>` module :ref:`multi node testing <multi-node-testing>`,
|
||||||
described in that section.
|
described in that section.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue