codersdojo 1.2.15 → 1.2.16
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 → csharp.nunit.dotnet}/README +1 -1
- data/templates/csharp.nunit.mono/%Kata_file%.cs +20 -0
- data/templates/csharp.nunit.mono/.meta +2 -0
- data/templates/csharp.nunit.mono/README +13 -0
- data/templates/csharp.nunit.mono/run-endless.%sh% +1 -0
- data/templates/csharp.nunit.mono/run-once.%sh% +3 -0
- metadata +14 -9
- /data/templates/{csharp.nunit → csharp.nunit.dotnet}/%Kata_file%.cs +0 -0
- /data/templates/{csharp.nunit → csharp.nunit.dotnet}/.meta +0 -0
- /data/templates/{csharp.nunit → csharp.nunit.dotnet}/run-endless.%sh% +0 -0
- /data/templates/{csharp.nunit → csharp.nunit.dotnet}/run-once.%sh% +0 -0
@@ -7,7 +7,7 @@ Run run-endless.%sh% and start your kata. (On Mac/Linux you have to call ./run-e
|
|
7
7
|
|
8
8
|
Assumptions:
|
9
9
|
- The .Net Framework is installed (from www.microsoft.com).
|
10
|
-
-
|
10
|
+
- the Path includes:
|
11
11
|
csc (possible path=C:\Windows\Microsoft.NET\Framework\v4.0.30319\)
|
12
12
|
nunit-console (possible path=C:\Programme\NUnit 2.5.9\bin\net-2.0\)
|
13
13
|
- nunit.framework.dll is in the same directory as %Kata_file%.cs.
|
@@ -0,0 +1,20 @@
|
|
1
|
+
using System;
|
2
|
+
using NUnit.Framework;
|
3
|
+
|
4
|
+
[TestFixture]
|
5
|
+
public class %Kata_file%Test
|
6
|
+
{
|
7
|
+
[Test]
|
8
|
+
public void testFoo()
|
9
|
+
{
|
10
|
+
%Kata_file% object_under_test = new %Kata_file%();
|
11
|
+
Assert.AreEqual("foo", object_under_test.foo());
|
12
|
+
}
|
13
|
+
}
|
14
|
+
|
15
|
+
public class %Kata_file%
|
16
|
+
{
|
17
|
+
public String foo(){
|
18
|
+
return "fixme";
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,13 @@
|
|
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 MonoDevelop framework is installed.
|
10
|
+
- nunit.framework.dll is in the same directory as %Kata_file%.cs.
|
11
|
+
- The whole kata source code is in the one %Kata_file%.cs.
|
12
|
+
|
13
|
+
The support for C#/NUnit was contributed by Meike Mertsch (Twitter: meikemertsch).
|
@@ -0,0 +1 @@
|
|
1
|
+
codersdojo start run-once.cmd %Kata_file%.cs
|
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: 63
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 1.2.
|
9
|
+
- 16
|
10
|
+
version: 1.2.16
|
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-22 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -101,10 +101,14 @@ files:
|
|
101
101
|
- templates/cpp.gtest/README
|
102
102
|
- templates/cpp.gtest/run-endless.sh
|
103
103
|
- templates/cpp.gtest/run-once.sh
|
104
|
-
- templates/csharp.nunit/%Kata_file%.cs
|
105
|
-
- templates/csharp.nunit/README
|
106
|
-
- templates/csharp.nunit/run-endless.%sh%
|
107
|
-
- templates/csharp.nunit/run-once.%sh%
|
104
|
+
- templates/csharp.nunit.dotnet/%Kata_file%.cs
|
105
|
+
- templates/csharp.nunit.dotnet/README
|
106
|
+
- templates/csharp.nunit.dotnet/run-endless.%sh%
|
107
|
+
- templates/csharp.nunit.dotnet/run-once.%sh%
|
108
|
+
- templates/csharp.nunit.mono/%Kata_file%.cs
|
109
|
+
- templates/csharp.nunit.mono/README
|
110
|
+
- templates/csharp.nunit.mono/run-endless.%sh%
|
111
|
+
- templates/csharp.nunit.mono/run-once.%sh%
|
108
112
|
- templates/forth.tester/%kata_file%.fth
|
109
113
|
- templates/forth.tester/README
|
110
114
|
- templates/forth.tester/run-endless.%sh%
|
@@ -164,7 +168,8 @@ files:
|
|
164
168
|
- templates/any/.meta
|
165
169
|
- templates/clojure.is-test/.meta
|
166
170
|
- templates/cpp.gtest/.meta
|
167
|
-
- templates/csharp.nunit/.meta
|
171
|
+
- templates/csharp.nunit.dotnet/.meta
|
172
|
+
- templates/csharp.nunit.mono/.meta
|
168
173
|
- templates/forth.tester/.meta
|
169
174
|
- templates/groovy.gunit/.meta
|
170
175
|
- templates/java.junit/.meta
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|