Permalink
Browse files

package renamed

  • Loading branch information...
1 parent 907824e commit dbf51d6f9e5ce8bc957601e7b202261413c6975a @danseid committed Nov 20, 2012
View
@@ -1,16 +1,17 @@
+#KATCHERS
+
+*library of matchers for building test expressions in [Kotlin](http://kotlin.jetbrains.org/)*
+
##Introduction
-Kotlin-Spec-Matchers is using Kotlin infix notation to provide a domain specific language (DSL) for expressing assertions
-in JUnit test using the word *should*.
-##Quick Start
-Import spec.matchers.* into your JUnit TestCase:
+*Katchers* is using Kotlin infix notation to provide a domain specific language (DSL) for expressing assertions in tests using the word *should*.
+
+##Usage
+
+__1. Import `import org.katchers.*`__
- import spec.matchers.*
+__2. Write assertions `1 should be equal 1`__
-Try Equal or NotEqual
- 1 should be equal 1
- 1 should !be equal 2
-##More Assertions
-see Wiki
+##Examples
View
@@ -5,9 +5,9 @@
<modelVersion>4.0.0</modelVersion>
- <groupId>de.cura-it</groupId>
- <artifactId>spec-matchers</artifactId>
- <version>1.0-SNAPSHOT</version>
+ <groupId>org.katchers</groupId>
+ <artifactId>katchers</artifactId>
+ <version>0.1</version>
<properties>
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package spec.matchers
+package org.katchers
import kotlin.test.*
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package spec.matchers
+package org.katchers
/**
* @author Daniel Seidler
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-package spec.matchers
+package org.katchers
import kotlin.test.*
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package spec.matchers
+package org.katchers
/**
* @author Daniel Seidler
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package spec.matchers
+package org.katchers
/**
* @author Daniel Seidler
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package spec.matchers
+package org.katchers
/**
* @author Daniel Seidler
@@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-package spec.matchers
+package org.katchers
/**
* @author Daniel Seidler
@@ -5,7 +5,7 @@
*/
import org.junit.Test as test
-import spec.matchers.*
+import org.katchers.*
public class AnyMatchersTest {
test fun integers() {
@@ -5,7 +5,7 @@
*/
import org.junit.Test as test
-import spec.matchers.*
+import org.katchers.*
public class FunctionMatcherTest {
@@ -6,7 +6,7 @@
import kotlin.test.assertTrue
import org.junit.Test as test
-import spec.matchers.*
+import org.katchers.*
public class ShouldTest {
test fun shouldBeAnyMatcher() {
@@ -5,7 +5,7 @@
*/
import org.junit.Test as test
-import spec.matchers.*
+import org.katchers.*
public class StringMatcherTest {
test fun haveLength() {
@@ -6,7 +6,7 @@
import kotlin.test.assertEquals
import org.junit.Test as test
-import spec.matchers.*
+import org.katchers.*
public class VerbTest {
test fun be() {

0 comments on commit dbf51d6

Please sign in to comment.