codersdojo 1.4.01 → 1.4.02

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,16 @@
1
+ -- Adapt the code to your code kata %kata_file%.
2
+
3
+ import Test.HUnit
4
+
5
+ foo :: String
6
+ foo = "fixme"
7
+
8
+
9
+ test1 = TestCase (do assertEqual "" "foo" (foo))
10
+
11
+ tests :: Test
12
+ tests = TestList [TestLabel "test1" test1]
13
+
14
+ main :: IO Counts
15
+ main = do runTestTT tests
16
+
@@ -0,0 +1,3 @@
1
+ framework: haskell.hunit
2
+ source_files: .*\.hs
3
+
@@ -0,0 +1,8 @@
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
+ The support for Haskell/HUnit was contributed by Matt Williams (Twitter: @matty_jwilliams).
@@ -0,0 +1 @@
1
+ codersdojo start run-once.%sh%
@@ -0,0 +1,2 @@
1
+ ghc %kata_file%.hs
2
+ ./%kata_file%
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 4
8
- - 1
9
- version: 1.4.01
8
+ - 2
9
+ version: 1.4.02
10
10
  platform: ruby
11
11
  authors:
12
12
  - CodersDojo-Team
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-08-20 00:00:00 +02:00
17
+ date: 2011-09-07 00:00:00 +02:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -135,6 +135,10 @@ files:
135
135
  - templates/groovy.gunit/README
136
136
  - templates/groovy.gunit/run-endless.sh
137
137
  - templates/groovy.gunit/run-once.sh
138
+ - templates/haskell.hunit/%kata_file%.hs
139
+ - templates/haskell.hunit/README
140
+ - templates/haskell.hunit/run-endless.%sh%
141
+ - templates/haskell.hunit/run-once.%sh%
138
142
  - templates/java.junit/%Kata_file%Test.java
139
143
  - templates/java.junit/bin/place_your_class_files_here
140
144
  - templates/java.junit/lib/place_your_libs_here
@@ -194,6 +198,7 @@ files:
194
198
  - templates/csharp.nunit.mono/.meta
195
199
  - templates/forth.tester/.meta
196
200
  - templates/groovy.gunit/.meta
201
+ - templates/haskell.hunit/.meta
197
202
  - templates/java.junit/.meta
198
203
  - templates/javascript.jspec/.meta
199
204
  - templates/javascript.vows/.meta