Permalink
Browse files

More docs

  • Loading branch information...
1 parent 8a51c3e commit 6c45b1f4c65768a870379c57a6c7588be0af793c @shairontoledo committed Oct 5, 2012
Showing with 12 additions and 12 deletions.
  1. +12 −12 README.md
View
@@ -1,15 +1,15 @@
-Maven template project with common used librares(by me) based on <https://github.com/davidB/scala-archetype-simple> by [David Bernarde](https://github.com/davidB).
+Scala Maven Template project with common used librares(by me) based on <https://github.com/davidB/scala-archetype-simple> by [David Bernarde](https://github.com/davidB).
In the target project includes:
-- org.scala-lang - 2.9.1
-- junit - 4.10
-- org.specs2 - 1.9 for scala version 2.9.1
-- org.mockito - 1.9.0
-- ch.qos.logback - 1.0.7
-- <package>/App - App sample file
-- test/samples/MySpec - Spec2 with Mockito sample file
+- `org.scala-lang` - `2.9.1`
+- `junit` - `4.10`
+- `org.specs2` - `1.9 `for scala version `2.9.1`
+- `org.mockito` - `1.9.0`
+- `ch.qos.logback` - `1.0.7`
+- `<package>/App` - App sample file
+- `test/samples/MySpec` - `Spec2` with Mockito sample file
## Install
@@ -24,7 +24,7 @@ Above commands will register scala-maven-template at `~/.m2/archetype-catalog.xm
## Generating target template project
-The archtype will ask you `groupId`, `artifactId`, `version` and `package`, so fire this line
+The archtype will ask you `groupId`, `artifactId`, `version` and `package`, in an interactive mode, so fire this line
mvn archetype:generate -DarchetypeGroupId=org.scala-tools.archetypes -DarchetypeArtifactId=scala-maven-template
@@ -45,7 +45,7 @@ You will see something like
# Tests
-Running tests with Spec2 and Maven compatibility(junit) you need add `@RunWith(classOf[JUnitRunner])` above your `testSpec` like this example generate by archtype:
+Running tests with `Spec2` and Maven compatibility(junit) you need to add `@RunWith(classOf[JUnitRunner])` above of your `testSpec` like this example generated by archtype:
package samples
@@ -84,11 +84,11 @@ Running tests with Spec2 and Maven compatibility(junit) you need add `@RunWith(c
}
}
-And so run tests
+And so, run tests
mvn test
-Or just that file
+Or just that spec file
mvn test -Dtest=samples.MySpec

0 comments on commit 6c45b1f

Please sign in to comment.