codersdojo 1.2.05 → 1.2.06
Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,19 @@
|
|
1
|
+
import groovy.util.GroovyTestCase
|
2
|
+
|
3
|
+
class %Kata_file%Test extends GroovyTestCase {
|
4
|
+
|
5
|
+
void test%Kata_file%() {
|
6
|
+
def toTest = new %Kata_file%()
|
7
|
+
assert "fixme" == toTest.%kata_file%()
|
8
|
+
}
|
9
|
+
|
10
|
+
}
|
11
|
+
|
12
|
+
class %Kata_file% {
|
13
|
+
|
14
|
+
def %kata_file%() {
|
15
|
+
"foo"
|
16
|
+
}
|
17
|
+
|
18
|
+
}
|
19
|
+
|
@@ -3,9 +3,9 @@ These files were created:
|
|
3
3
|
run-once.%sh% runs your tests once
|
4
4
|
run-endless.%sh% runs your tests endlessly via run-once.%sh%
|
5
5
|
|
6
|
-
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless
|
6
|
+
Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.sh.)
|
7
7
|
|
8
8
|
Assumptions:
|
9
9
|
- Java and Groovy is installed on your system, 'groovy' is in the path and GROOVY_HOME is set.
|
10
10
|
- groovy.jar is placed in the 'lib' directory.
|
11
|
-
- The whole kata source code is in the one %Kata_file
|
11
|
+
- The whole kata source code is in the one %Kata_file%Test.groovy.
|
@@ -1 +1 @@
|
|
1
|
-
codersdojo start run-once.sh %Kata_file
|
1
|
+
codersdojo start run-once.sh %Kata_file%Test.groovy
|
@@ -1 +1 @@
|
|
1
|
-
groovy -cp lib/groovy.jar %Kata_file
|
1
|
+
groovy -cp lib/groovy.jar %Kata_file%Test.groovy
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codersdojo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 6
|
10
|
+
version: 1.2.06
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- CodersDojo-Team
|
@@ -97,7 +97,7 @@ files:
|
|
97
97
|
- templates/forth.tester/run-endless.%sh%
|
98
98
|
- templates/forth.tester/run-once.%sh%
|
99
99
|
- templates/forth.tester/tester.fr
|
100
|
-
- templates/groovy.gunit/%Kata_file
|
100
|
+
- templates/groovy.gunit/%Kata_file%Test.groovy
|
101
101
|
- templates/groovy.gunit/README
|
102
102
|
- templates/groovy.gunit/run-endless.sh
|
103
103
|
- templates/groovy.gunit/run-once.sh
|