codersdojo 1.2.04 → 1.2.05

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,11 @@
1
+ import groovy.util.GroovyTestCase
2
+
3
+
4
+ class PrimeFactorsTest extends GroovyTestCase {
5
+
6
+
7
+ void testFoo() {
8
+ assert 2 == 2
9
+ }
10
+
11
+ }
@@ -0,0 +1,2 @@
1
+ framework: groovy.gunit
2
+ source_files: .*\.groovy
@@ -0,0 +1,11 @@
1
+ These files were created:
2
+ README is what you are currently reading
3
+ run-once.%sh% runs your tests once
4
+ run-endless.%sh% runs your tests endlessly via run-once.%sh%
5
+
6
+ Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
7
+
8
+ Assumptions:
9
+ - Java and Groovy is installed on your system, 'groovy' is in the path and GROOVY_HOME is set.
10
+ - groovy.jar is placed in the 'lib' directory.
11
+ - The whole kata source code is in the one %Kata_file%.groovy.
@@ -0,0 +1 @@
1
+ codersdojo start run-once.sh %Kata_file%.groovy
@@ -0,0 +1 @@
1
+ groovy -cp lib/groovy.jar %Kata_file%.groovy
@@ -0,0 +1,10 @@
1
+ use strict;
2
+ use Test;
3
+
4
+ sub %kata_file% {
5
+ "foo"
6
+ }
7
+
8
+ BEGIN { plan tests => 1, todo => [0] }
9
+
10
+ ok ("fixme", %kata_file%())
@@ -0,0 +1,2 @@
1
+ framework: perl.test
2
+ source_files: .*\.pl
@@ -0,0 +1,9 @@
1
+ These files were created:
2
+ README is what you are currently reading
3
+ run-once.%sh% runs your tests once
4
+ run-endless.%sh% runs your tests endlessly via run-once.%sh%
5
+
6
+ Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-endless.%sh%.)
7
+
8
+ Assumptions:
9
+ - The whole kata source code is in the one %kata_file%.pl.
@@ -0,0 +1 @@
1
+ codersdojo start run-once.sh %kata_file%.pl
@@ -0,0 +1 @@
1
+ perl %kata_file%.pl
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 4
10
- version: 1.2.04
9
+ - 5
10
+ version: 1.2.05
11
11
  platform: ruby
12
12
  authors:
13
13
  - CodersDojo-Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-03-06 00:00:00 +01:00
18
+ date: 2011-03-07 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -97,6 +97,10 @@ 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%.groovy
101
+ - templates/groovy.gunit/README
102
+ - templates/groovy.gunit/run-endless.sh
103
+ - templates/groovy.gunit/run-once.sh
100
104
  - templates/java.junit/%Kata_file%Test.java
101
105
  - templates/java.junit/bin/place_your_class_files_here
102
106
  - templates/java.junit/lib/place_your_libs_here
@@ -110,6 +114,10 @@ files:
110
114
  - templates/javascript.vows/%kata_file%-test.js
111
115
  - templates/javascript.vows/README
112
116
  - templates/javascript.vows/run-endless.%sh%
117
+ - templates/perl.test/%kata_file%.pl
118
+ - templates/perl.test/README
119
+ - templates/perl.test/run-endless.sh
120
+ - templates/perl.test/run-once.sh
113
121
  - templates/python.pytest/%kata_file%.py
114
122
  - templates/python.pytest/README
115
123
  - templates/python.pytest/run-endless.%sh%
@@ -136,9 +144,11 @@ files:
136
144
  - templates/clojure.is-test/.meta
137
145
  - templates/csharp.nunit/.meta
138
146
  - templates/forth.tester/.meta
147
+ - templates/groovy.gunit/.meta
139
148
  - templates/java.junit/.meta
140
149
  - templates/javascript.jspec/.meta
141
150
  - templates/javascript.vows/.meta
151
+ - templates/perl.test/.meta
142
152
  - templates/python.pytest/.meta
143
153
  - templates/python.pyunit/.meta
144
154
  - templates/ruby.rspec/.meta