codersdojo 1.2.12 → 1.2.13
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.
- data/templates/csharp.nunit/README +1 -1
- data/templates/objective-c.ocunit/%Kata_file%Tests.m +30 -0
- data/templates/objective-c.ocunit/.meta +2 -0
- data/templates/objective-c.ocunit/README +11 -0
- data/templates/objective-c.ocunit/run-endless.%sh% +1 -0
- data/templates/objective-c.ocunit/run-once.%sh% +1 -0
- data/templates/python.pyunit/README +1 -1
- metadata +9 -4
@@ -13,4 +13,4 @@ Assumptions:
|
|
13
13
|
- nunit.framework.dll is in the same directory as %Kata_file%.cs.
|
14
14
|
- The whole kata source code is in the one %Kata_file%.cs.
|
15
15
|
|
16
|
-
The support for C#/NUnit was contributed by Meike Mertsch.
|
16
|
+
The support for C#/NUnit was contributed by Meike Mertsch (Twitter: meikemertsch).
|
@@ -0,0 +1,30 @@
|
|
1
|
+
// Adapt the code to your code kata %kata_file%.
|
2
|
+
// Important: Test and production code has to be
|
3
|
+
// completely in this file.
|
4
|
+
|
5
|
+
#import <SenTestingKit/SenTestingKit.h>
|
6
|
+
|
7
|
+
@interface %Kata_file%Tests : SenTestCase {
|
8
|
+
}
|
9
|
+
@end
|
10
|
+
|
11
|
+
@implementation %Kata_file%Tests
|
12
|
+
|
13
|
+
-(void) test%Kata_file% {
|
14
|
+
%Kata_file% *%kata_file% = [[%Kata_file% alloc] init];
|
15
|
+
STAssertEqualObjects(@"foo", [%kata_file% %kata_file%], nil);
|
16
|
+
[%kata_file% release]
|
17
|
+
}
|
18
|
+
|
19
|
+
@end
|
20
|
+
|
21
|
+
@interface %Kata_file% {
|
22
|
+
}
|
23
|
+
-(NSString*) %kata_file%;
|
24
|
+
@end
|
25
|
+
|
26
|
+
@implementation %Kata_file%
|
27
|
+
-(NSString*) %kata_file% {
|
28
|
+
return "fixme"
|
29
|
+
}
|
30
|
+
@end
|
@@ -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
|
+
- The whole kata source code is in the one %kata_file%.m.
|
10
|
+
|
11
|
+
The support for Objective-C/OCUnit was contributed by Sven Günther.
|
@@ -0,0 +1 @@
|
|
1
|
+
codersdojo start run-once.sh %Kata_file%Tests.m
|
@@ -0,0 +1 @@
|
|
1
|
+
xcodebuild -target "%Kata_file%Tests"
|
@@ -8,4 +8,4 @@ Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-e
|
|
8
8
|
Assumptions:
|
9
9
|
- The whole kata source code is in the one %kata_file%.py.
|
10
10
|
|
11
|
-
The support for Python/PyUnit was contributed by Steven Collins.
|
11
|
+
The support for Python/PyUnit was contributed by Steven Collins (Twitter: @lomin).
|
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: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 13
|
10
|
+
version: 1.2.13
|
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-05-
|
18
|
+
date: 2011-05-12 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -124,6 +124,10 @@ files:
|
|
124
124
|
- templates/javascript.vows/%kata_file%-test.js
|
125
125
|
- templates/javascript.vows/README
|
126
126
|
- templates/javascript.vows/run-endless.%sh%
|
127
|
+
- templates/objective-c.ocunit/%Kata_file%Tests.m
|
128
|
+
- templates/objective-c.ocunit/README
|
129
|
+
- templates/objective-c.ocunit/run-endless.%sh%
|
130
|
+
- templates/objective-c.ocunit/run-once.%sh%
|
127
131
|
- templates/perl.test/%kata_file%.pl
|
128
132
|
- templates/perl.test/README
|
129
133
|
- templates/perl.test/run-endless.sh
|
@@ -163,6 +167,7 @@ files:
|
|
163
167
|
- templates/java.junit/.meta
|
164
168
|
- templates/javascript.jspec/.meta
|
165
169
|
- templates/javascript.vows/.meta
|
170
|
+
- templates/objective-c.ocunit/.meta
|
166
171
|
- templates/perl.test/.meta
|
167
172
|
- templates/php.phpunit/.meta
|
168
173
|
- templates/python.pytest/.meta
|