codersdojo 1.2.18 → 1.2.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,11 @@
1
+ function %kata_file%()
2
+ {
3
+ result="fixme"
4
+ }
5
+
6
+ function test%Kata_file%()
7
+ {
8
+ %kata_file%
9
+ assertEquals "foo" ${result}
10
+ }
11
+
@@ -0,0 +1,3 @@
1
+ framework: shell.shunit
2
+ source_files: .*\.sh
3
+
@@ -0,0 +1,12 @@
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%.sh.
10
+ - shunit2 is in your path.
11
+
12
+ The support for Shell/ShUnit was contributed by Stefan Roock (Twitter: StefanRoock, http://stefanroock.de).
@@ -0,0 +1 @@
1
+ codersdojo start run-once.%sh% %kata_file%.sh
@@ -0,0 +1 @@
1
+ shunit2 %kata_file%.sh
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: 59
4
+ hash: 57
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 18
10
- version: 1.2.18
9
+ - 19
10
+ version: 1.2.19
11
11
  platform: ruby
12
12
  authors:
13
13
  - CodersDojo-Team
@@ -165,6 +165,10 @@ files:
165
165
  - templates/scala.junit/README
166
166
  - templates/scala.junit/run-endless.%sh%
167
167
  - templates/scala.junit/run-once.%sh%
168
+ - templates/shell.shunit/%kata_file%.sh
169
+ - templates/shell.shunit/README
170
+ - templates/shell.shunit/run-endless.%sh%
171
+ - templates/shell.shunit/run-once.%sh%
168
172
  - templates/any/.meta
169
173
  - templates/clojure.is-test/.meta
170
174
  - templates/cpp.gtest/.meta
@@ -183,6 +187,7 @@ files:
183
187
  - templates/ruby.rspec/.meta
184
188
  - templates/ruby.test-unit/.meta
185
189
  - templates/scala.junit/.meta
190
+ - templates/shell.shunit/.meta
186
191
  - lib/place_libs_here
187
192
  - bin/codersdojo
188
193
  has_rdoc: true