pre_push 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -1
- data/lib/pre_push.rb +2 -0
- data/lib/pre_push/version.rb +1 -1
- data/lib/runners/mspec0512/CommandLine.dll +0 -0
- data/lib/runners/mspec0512/CommandLine.xml +504 -0
- data/lib/runners/mspec0512/License.txt +54 -0
- data/lib/runners/mspec0512/Machine.Specifications.Clr4.dll +0 -0
- data/lib/runners/mspec0512/Machine.Specifications.GallioAdapter.dll +0 -0
- data/lib/runners/mspec0512/Machine.Specifications.GallioAdapter.plugin +43 -0
- data/lib/runners/mspec0512/Machine.Specifications.Reporting.Templates.dll +0 -0
- data/lib/runners/mspec0512/Machine.Specifications.Reporting.dll +0 -0
- data/lib/runners/mspec0512/Machine.Specifications.SeleniumSupport.dll +0 -0
- data/lib/runners/mspec0512/Machine.Specifications.WatinSupport.dll +0 -0
- data/lib/runners/mspec0512/Machine.Specifications.WebDriverSupport.dll +0 -0
- data/lib/runners/mspec0512/Machine.Specifications.dll +0 -0
- data/lib/runners/mspec0512/Machine.Specifications.dll.tdnet +5 -0
- data/lib/runners/mspec0512/mspec-clr4.exe +0 -0
- data/lib/runners/mspec0512/mspec-clr4.exe.config +9 -0
- data/lib/runners/mspec0512/mspec-x86-clr4.exe +0 -0
- data/lib/runners/mspec0512/mspec-x86-clr4.exe.config +9 -0
- data/lib/runners/mspec0512/mspec-x86.exe +0 -0
- data/lib/runners/mspec0512/mspec.exe +0 -0
- data/lib/runners/mspec0515/CommandLine.dll +0 -0
- data/lib/runners/mspec0515/CommandLine.xml +504 -0
- data/lib/runners/mspec0515/Machine.Specifications.Clr4.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.GallioAdapter.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.GallioAdapter.plugin +43 -0
- data/lib/runners/mspec0515/Machine.Specifications.Reporting.Templates.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.Reporting.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.SeleniumSupport.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.TDNetRunner.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.WatinSupport.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.WebDriverSupport.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.dll +0 -0
- data/lib/runners/mspec0515/Machine.Specifications.dll.tdnet +5 -0
- data/lib/runners/mspec0515/mspec-clr4.exe +0 -0
- data/lib/runners/mspec0515/mspec-clr4.exe.config +9 -0
- data/lib/runners/mspec0515/mspec-x86-clr4.exe +0 -0
- data/lib/runners/mspec0515/mspec-x86-clr4.exe.config +9 -0
- data/lib/runners/mspec0515/mspec-x86.exe +0 -0
- data/lib/runners/mspec0515/mspec.exe +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.0.bat +7 -7
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.1.bat +7 -7
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.2.bat +7 -7
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.6.1.bat +10 -10
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.0.bat +10 -10
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.1.bat +10 -10
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/mspec-clr4.exe.config +8 -8
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/mspec-x86-clr4.exe.config +8 -8
- data/spec/TestProj/packages/NUnit.2.6.2/NUnit.2.6.2.nuspec +8 -8
- data/spec/mspec_integration_spec.rb +1 -1
- data/spec/spec_helper.rb +76 -76
- metadata +55 -7
Binary file
|
Binary file
|
@@ -0,0 +1,43 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
2
|
+
<plugin pluginId="Gallio.MSpecAdapter"
|
3
|
+
recommendedInstallationPath="MSpec"
|
4
|
+
xmlns="http://www.gallio.org/">
|
5
|
+
<traits>
|
6
|
+
<name>Machine Specifications Adapter Plugin</name>
|
7
|
+
<version>0.5.15.0</version>
|
8
|
+
<description>Provides support for running MSpec within Gallio. Requires the assemblies from MSpec.</description>
|
9
|
+
</traits>
|
10
|
+
|
11
|
+
<dependencies>
|
12
|
+
<dependency pluginId="Gallio" />
|
13
|
+
</dependencies>
|
14
|
+
|
15
|
+
<files>
|
16
|
+
<file path="Machine.Specifications.dll" />
|
17
|
+
<file path="Machine.Specifications.GallioAdapter.plugin" />
|
18
|
+
<file path="Machine.Specifications.GallioAdapter.dll" />
|
19
|
+
<!--<file path="Readme.txt" />-->
|
20
|
+
</files>
|
21
|
+
|
22
|
+
<assemblies>
|
23
|
+
<assembly fullName="Machine.Specifications.GallioAdapter, Version=0.5.15.0, Culture=neutral, PublicKeyToken=null"
|
24
|
+
codeBase="Machine.Specifications.GallioAdapter.dll"
|
25
|
+
qualifyPartialName="true" />
|
26
|
+
|
27
|
+
<assembly fullName="Machine.Specifications, Version=0.5.15.0, Culture=neutral, PublicKeyToken=5c474de7a495cff1"
|
28
|
+
codeBase="Machine.Specifications.dll" />
|
29
|
+
</assemblies>
|
30
|
+
|
31
|
+
<components>
|
32
|
+
<component componentId="Machine.Specifications"
|
33
|
+
serviceId="Gallio.TestFramework"
|
34
|
+
componentType="Machine.Specifications.GallioAdapter.MachineSpecificationsFramework, Machine.Specifications.GallioAdapter">
|
35
|
+
<traits>
|
36
|
+
<name>Machine Specifications</name>
|
37
|
+
<frameworkAssemblies>Machine.Specifications</frameworkAssemblies>
|
38
|
+
<version>0.5.15.0</version>
|
39
|
+
<fileTypes>Assembly</fileTypes>
|
40
|
+
</traits>
|
41
|
+
</component>
|
42
|
+
</components>
|
43
|
+
</plugin>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.0.bat
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins" 2> NUL
|
2
|
-
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" 2> NUL
|
3
|
-
copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec"
|
4
|
-
copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" > NUL
|
5
|
-
copy /y Machine.Specifications.dotCoverRunner.2.0.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec"
|
6
|
-
copy /y Machine.Specifications.dotCoverRunner.2.0.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" > NUL
|
7
|
-
pause
|
1
|
+
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins" 2> NUL
|
2
|
+
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" 2> NUL
|
3
|
+
copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec"
|
4
|
+
copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" > NUL
|
5
|
+
copy /y Machine.Specifications.dotCoverRunner.2.0.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec"
|
6
|
+
copy /y Machine.Specifications.dotCoverRunner.2.0.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.0\Plugins\mspec" > NUL
|
7
|
+
pause
|
data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.1.bat
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins" 2> NUL
|
2
|
-
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" 2> NUL
|
3
|
-
copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec"
|
4
|
-
copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" > NUL
|
5
|
-
copy /y Machine.Specifications.dotCoverRunner.2.1.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec"
|
6
|
-
copy /y Machine.Specifications.dotCoverRunner.2.1.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" > NUL
|
7
|
-
pause
|
1
|
+
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins" 2> NUL
|
2
|
+
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" 2> NUL
|
3
|
+
copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec"
|
4
|
+
copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" > NUL
|
5
|
+
copy /y Machine.Specifications.dotCoverRunner.2.1.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec"
|
6
|
+
copy /y Machine.Specifications.dotCoverRunner.2.1.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.1\Plugins\mspec" > NUL
|
7
|
+
pause
|
data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.2.bat
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins" 2> NUL
|
2
|
-
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" 2> NUL
|
3
|
-
copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec"
|
4
|
-
copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" > NUL
|
5
|
-
copy /y Machine.Specifications.dotCoverRunner.2.2.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec"
|
6
|
-
copy /y Machine.Specifications.dotCoverRunner.2.2.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" > NUL
|
7
|
-
pause
|
1
|
+
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins" 2> NUL
|
2
|
+
mkdir "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" 2> NUL
|
3
|
+
copy /y Machine.Specifications.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec"
|
4
|
+
copy /y Machine.Specifications.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" > NUL
|
5
|
+
copy /y Machine.Specifications.dotCoverRunner.2.2.dll "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec"
|
6
|
+
copy /y Machine.Specifications.dotCoverRunner.2.2.pdb "%LOCALAPPDATA%\JetBrains\dotCover\v2.2\Plugins\mspec" > NUL
|
7
|
+
pause
|
data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.6.1.bat
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
del "%APPDATA%\JetBrains\ReSharper\v6.1\vs9.0\Plugins\Machine.Specifications.*" 2> NUL
|
2
|
-
del "%APPDATA%\JetBrains\ReSharper\v6.1\vs10.0\Plugins\Machine.Specifications.*" 2> NUL
|
3
|
-
|
4
|
-
mkdir "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins" 2> NUL
|
5
|
-
mkdir "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec" 2> NUL
|
6
|
-
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec"
|
7
|
-
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec" > NUL
|
8
|
-
copy /y Machine.Specifications.ReSharperRunner.6.1.dll "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec"
|
9
|
-
copy /y Machine.Specifications.ReSharperRunner.6.1.pdb "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec" > NUL
|
10
|
-
pause
|
1
|
+
del "%APPDATA%\JetBrains\ReSharper\v6.1\vs9.0\Plugins\Machine.Specifications.*" 2> NUL
|
2
|
+
del "%APPDATA%\JetBrains\ReSharper\v6.1\vs10.0\Plugins\Machine.Specifications.*" 2> NUL
|
3
|
+
|
4
|
+
mkdir "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins" 2> NUL
|
5
|
+
mkdir "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec" 2> NUL
|
6
|
+
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec"
|
7
|
+
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec" > NUL
|
8
|
+
copy /y Machine.Specifications.ReSharperRunner.6.1.dll "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec"
|
9
|
+
copy /y Machine.Specifications.ReSharperRunner.6.1.pdb "%APPDATA%\JetBrains\ReSharper\v6.1\Plugins\mspec" > NUL
|
10
|
+
pause
|
data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.0.bat
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
del "%APPDATA%\JetBrains\ReSharper\v7.0\vs10.0\Plugins\Machine.Specifications.*" 2> NUL
|
2
|
-
del "%APPDATA%\JetBrains\ReSharper\v7.0\vs11.0\Plugins\Machine.Specifications.*" 2> NUL
|
3
|
-
|
4
|
-
mkdir "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins" 2> NUL
|
5
|
-
mkdir "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec" 2> NUL
|
6
|
-
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec"
|
7
|
-
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec" > NUL
|
8
|
-
copy /y Machine.Specifications.ReSharperRunner.7.0.dll "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec"
|
9
|
-
copy /y Machine.Specifications.ReSharperRunner.7.0.pdb "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec" > NUL
|
10
|
-
pause
|
1
|
+
del "%APPDATA%\JetBrains\ReSharper\v7.0\vs10.0\Plugins\Machine.Specifications.*" 2> NUL
|
2
|
+
del "%APPDATA%\JetBrains\ReSharper\v7.0\vs11.0\Plugins\Machine.Specifications.*" 2> NUL
|
3
|
+
|
4
|
+
mkdir "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins" 2> NUL
|
5
|
+
mkdir "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec" 2> NUL
|
6
|
+
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec"
|
7
|
+
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec" > NUL
|
8
|
+
copy /y Machine.Specifications.ReSharperRunner.7.0.dll "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec"
|
9
|
+
copy /y Machine.Specifications.ReSharperRunner.7.0.pdb "%APPDATA%\JetBrains\ReSharper\v7.0\Plugins\mspec" > NUL
|
10
|
+
pause
|
data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.1.bat
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
del "%APPDATA%\JetBrains\ReSharper\v7.1\vs10.0\Plugins\Machine.Specifications.*" 2> NUL
|
2
|
-
del "%APPDATA%\JetBrains\ReSharper\v7.1\vs11.0\Plugins\Machine.Specifications.*" 2> NUL
|
3
|
-
|
4
|
-
mkdir "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins" 2> NUL
|
5
|
-
mkdir "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec" 2> NUL
|
6
|
-
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec"
|
7
|
-
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec" > NUL
|
8
|
-
copy /y Machine.Specifications.ReSharperRunner.7.1.dll "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec"
|
9
|
-
copy /y Machine.Specifications.ReSharperRunner.7.1.pdb "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec" > NUL
|
10
|
-
pause
|
1
|
+
del "%APPDATA%\JetBrains\ReSharper\v7.1\vs10.0\Plugins\Machine.Specifications.*" 2> NUL
|
2
|
+
del "%APPDATA%\JetBrains\ReSharper\v7.1\vs11.0\Plugins\Machine.Specifications.*" 2> NUL
|
3
|
+
|
4
|
+
mkdir "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins" 2> NUL
|
5
|
+
mkdir "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec" 2> NUL
|
6
|
+
copy /y Machine.Specifications.dll "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec"
|
7
|
+
copy /y Machine.Specifications.pdb "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec" > NUL
|
8
|
+
copy /y Machine.Specifications.ReSharperRunner.7.1.dll "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec"
|
9
|
+
copy /y Machine.Specifications.ReSharperRunner.7.1.pdb "%APPDATA%\JetBrains\ReSharper\v7.1\Plugins\mspec" > NUL
|
10
|
+
pause
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<configuration>
|
3
|
-
<startup useLegacyV2RuntimeActivationPolicy="true">
|
4
|
-
<supportedRuntime version="v4.0"/>
|
5
|
-
</startup>
|
6
|
-
<runtime>
|
7
|
-
<loadFromRemoteSources enabled="true"/>
|
8
|
-
</runtime>
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<configuration>
|
3
|
+
<startup useLegacyV2RuntimeActivationPolicy="true">
|
4
|
+
<supportedRuntime version="v4.0"/>
|
5
|
+
</startup>
|
6
|
+
<runtime>
|
7
|
+
<loadFromRemoteSources enabled="true"/>
|
8
|
+
</runtime>
|
9
9
|
</configuration>
|
@@ -1,9 +1,9 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<configuration>
|
3
|
-
<startup useLegacyV2RuntimeActivationPolicy="true">
|
4
|
-
<supportedRuntime version="v4.0"/>
|
5
|
-
</startup>
|
6
|
-
<runtime>
|
7
|
-
<loadFromRemoteSources enabled="true"/>
|
8
|
-
</runtime>
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<configuration>
|
3
|
+
<startup useLegacyV2RuntimeActivationPolicy="true">
|
4
|
+
<supportedRuntime version="v4.0"/>
|
5
|
+
</startup>
|
6
|
+
<runtime>
|
7
|
+
<loadFromRemoteSources enabled="true"/>
|
8
|
+
</runtime>
|
9
9
|
</configuration>
|
@@ -10,16 +10,16 @@
|
|
10
10
|
<projectUrl>http://nunit.org/</projectUrl>
|
11
11
|
<iconUrl>http://nunit.org/nuget/nunit_32x32.png</iconUrl>
|
12
12
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
13
|
-
<description>NUnit features a fluent assert syntax, parameterized, generic and theory tests and is user-extensible. A number of runners, both from the NUnit project and by third parties, are able to execute NUnit tests.
|
14
|
-
|
15
|
-
Version 2.6 is the seventh major release of this well-known and well-tested programming tool.
|
16
|
-
|
13
|
+
<description>NUnit features a fluent assert syntax, parameterized, generic and theory tests and is user-extensible. A number of runners, both from the NUnit project and by third parties, are able to execute NUnit tests.
|
14
|
+
|
15
|
+
Version 2.6 is the seventh major release of this well-known and well-tested programming tool.
|
16
|
+
|
17
17
|
This package includes only the framework assembly. You will need to install the NUnit.Runners package unless you are using a third-party runner.</description>
|
18
18
|
<summary>NUnit is a unit-testing framework for all .Net languages with a strong TDD focus.</summary>
|
19
|
-
<releaseNotes>Version 2.6 is the seventh major release of NUnit.
|
20
|
-
|
21
|
-
Unlike earlier versions, this package includes only the framework assembly. You will need to install the NUnit.Runners package unless you are using a third-party runner.
|
22
|
-
|
19
|
+
<releaseNotes>Version 2.6 is the seventh major release of NUnit.
|
20
|
+
|
21
|
+
Unlike earlier versions, this package includes only the framework assembly. You will need to install the NUnit.Runners package unless you are using a third-party runner.
|
22
|
+
|
23
23
|
The nunit.mocks assembly is now provided by the NUnit.Mocks package. The pnunit.framework assembly is provided by the pNUnit package.</releaseNotes>
|
24
24
|
<copyright />
|
25
25
|
<language>en-US</language>
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
class MspecRunnerTesterClr4
|
4
4
|
@solution = "spec/TestProj/TestProj/TestProj.csproj"
|
5
|
-
@assemblies = ["
|
5
|
+
@assemblies = ["spec/TestProj/TestProj/bin/Debug/TestProj.exe"]
|
6
6
|
@test_runner = 'mspec'
|
7
7
|
#@runner_exe = 'mspec-clr4.exe' # will be selected by default
|
8
8
|
include PrePush
|
data/spec/spec_helper.rb
CHANGED
@@ -1,76 +1,76 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'spork'
|
3
|
-
require 'rspec'
|
4
|
-
require 'rspec/expectations'
|
5
|
-
require 'nokogiri'
|
6
|
-
require 'pre_push'
|
7
|
-
require 'prepush_validator'
|
8
|
-
require 'sln_finder'
|
9
|
-
require 'args_parser'
|
10
|
-
|
11
|
-
#uncomment the following line to use spork with the debugger
|
12
|
-
#require 'spork/ext/ruby-debug'
|
13
|
-
|
14
|
-
Spork.prefork do
|
15
|
-
# Loading more in this block will cause your tests to run faster. However,
|
16
|
-
# if you change any configuration or code from libraries loaded here, you'll
|
17
|
-
# need to restart spork for it take effect.
|
18
|
-
|
19
|
-
end
|
20
|
-
|
21
|
-
Spork.each_run do
|
22
|
-
# This code will be run each time you run your specs.
|
23
|
-
|
24
|
-
end
|
25
|
-
|
26
|
-
# --- Instructions ---
|
27
|
-
# Sort the contents of this file into a Spork.prefork and a Spork.each_run
|
28
|
-
# block.
|
29
|
-
#
|
30
|
-
# The Spork.prefork block is run only once when the spork server is started.
|
31
|
-
# You typically want to place most of your (slow) initializer code in here, in
|
32
|
-
# particular, require'ing any 3rd-party gems that you don't normally modify
|
33
|
-
# during development.
|
34
|
-
#
|
35
|
-
# The Spork.each_run block is run each time you run your specs. In case you
|
36
|
-
# need to load files that tend to change during development, require them here.
|
37
|
-
# With Rails, your application modules are loaded automatically, so sometimes
|
38
|
-
# this block can remain empty.
|
39
|
-
#
|
40
|
-
# Note: You can modify files loaded *from* the Spork.each_run block without
|
41
|
-
# restarting the spork server. However, this file itself will not be reloaded,
|
42
|
-
# so if you change any of the code inside the each_run block, you still need to
|
43
|
-
# restart the server. In general, if you have non-trivial code in this file,
|
44
|
-
# it's advisable to move it into a separate file so you can easily edit it
|
45
|
-
# without restarting spork. (For example, with RSpec, you could move
|
46
|
-
# non-trivial code into a file spec/support/my_helper.rb, making sure that the
|
47
|
-
# spec/support/* files are require'd from inside the each_run block.)
|
48
|
-
#
|
49
|
-
# Any code that is left outside the two blocks will be run during preforking
|
50
|
-
# *and* during each_run -- that's probably not what you want.
|
51
|
-
#
|
52
|
-
# These instructions should self-destruct in 10 seconds. If they don't, feel
|
53
|
-
# free to delete them.
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
class ReplaceClr
|
60
|
-
def self.between(old_version, new_version, proj = nil)
|
61
|
-
lines = []
|
62
|
-
lib = File.dirname(__FILE__)
|
63
|
-
|
64
|
-
proj = proj || 'TestProj'
|
65
|
-
tfv = "TargetFrameworkVersion"
|
66
|
-
target = "<#{tfv}>#{old_version}</#{tfv}>"
|
67
|
-
replace = "<#{tfv}>#{new_version}</#{tfv}>"
|
68
|
-
csproj = "#{lib}/../spec/TestProj/#{proj}/TestProj.csproj"
|
69
|
-
File.open(csproj) do |f|
|
70
|
-
f.each_line {|line| lines << line.sub(old_version, new_version)}
|
71
|
-
end
|
72
|
-
File.open(csproj, "w") do |file|
|
73
|
-
lines.each { |l| file.puts l }
|
74
|
-
end
|
75
|
-
end
|
76
|
-
end
|
1
|
+
require 'rubygems'
|
2
|
+
require 'spork'
|
3
|
+
require 'rspec'
|
4
|
+
require 'rspec/expectations'
|
5
|
+
require 'nokogiri'
|
6
|
+
require 'pre_push'
|
7
|
+
require 'prepush_validator'
|
8
|
+
require 'sln_finder'
|
9
|
+
require 'args_parser'
|
10
|
+
|
11
|
+
#uncomment the following line to use spork with the debugger
|
12
|
+
#require 'spork/ext/ruby-debug'
|
13
|
+
|
14
|
+
Spork.prefork do
|
15
|
+
# Loading more in this block will cause your tests to run faster. However,
|
16
|
+
# if you change any configuration or code from libraries loaded here, you'll
|
17
|
+
# need to restart spork for it take effect.
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
Spork.each_run do
|
22
|
+
# This code will be run each time you run your specs.
|
23
|
+
|
24
|
+
end
|
25
|
+
|
26
|
+
# --- Instructions ---
|
27
|
+
# Sort the contents of this file into a Spork.prefork and a Spork.each_run
|
28
|
+
# block.
|
29
|
+
#
|
30
|
+
# The Spork.prefork block is run only once when the spork server is started.
|
31
|
+
# You typically want to place most of your (slow) initializer code in here, in
|
32
|
+
# particular, require'ing any 3rd-party gems that you don't normally modify
|
33
|
+
# during development.
|
34
|
+
#
|
35
|
+
# The Spork.each_run block is run each time you run your specs. In case you
|
36
|
+
# need to load files that tend to change during development, require them here.
|
37
|
+
# With Rails, your application modules are loaded automatically, so sometimes
|
38
|
+
# this block can remain empty.
|
39
|
+
#
|
40
|
+
# Note: You can modify files loaded *from* the Spork.each_run block without
|
41
|
+
# restarting the spork server. However, this file itself will not be reloaded,
|
42
|
+
# so if you change any of the code inside the each_run block, you still need to
|
43
|
+
# restart the server. In general, if you have non-trivial code in this file,
|
44
|
+
# it's advisable to move it into a separate file so you can easily edit it
|
45
|
+
# without restarting spork. (For example, with RSpec, you could move
|
46
|
+
# non-trivial code into a file spec/support/my_helper.rb, making sure that the
|
47
|
+
# spec/support/* files are require'd from inside the each_run block.)
|
48
|
+
#
|
49
|
+
# Any code that is left outside the two blocks will be run during preforking
|
50
|
+
# *and* during each_run -- that's probably not what you want.
|
51
|
+
#
|
52
|
+
# These instructions should self-destruct in 10 seconds. If they don't, feel
|
53
|
+
# free to delete them.
|
54
|
+
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
class ReplaceClr
|
60
|
+
def self.between(old_version, new_version, proj = nil)
|
61
|
+
lines = []
|
62
|
+
lib = File.dirname(__FILE__)
|
63
|
+
|
64
|
+
proj = proj || 'TestProj'
|
65
|
+
tfv = "TargetFrameworkVersion"
|
66
|
+
target = "<#{tfv}>#{old_version}</#{tfv}>"
|
67
|
+
replace = "<#{tfv}>#{new_version}</#{tfv}>"
|
68
|
+
csproj = "#{lib}/../spec/TestProj/#{proj}/TestProj.csproj"
|
69
|
+
File.open(csproj) do |f|
|
70
|
+
f.each_line {|line| lines << line.sub(old_version, new_version)}
|
71
|
+
end
|
72
|
+
File.open(csproj, "w") do |file|
|
73
|
+
lines.each { |l| file.puts l }
|
74
|
+
end
|
75
|
+
end
|
76
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pre_push
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-09-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: '1.3'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.3'
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rake
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '0'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
36
46
|
description: adding a pre-push hook for git to compile & run tests
|
37
47
|
email:
|
38
48
|
- nievegoor@gmail.com
|
@@ -76,6 +86,44 @@ files:
|
|
76
86
|
- lib/runners/mspec/mspec-x86-clr4.exe.config
|
77
87
|
- lib/runners/mspec/mspec-x86.exe
|
78
88
|
- lib/runners/mspec/mspec.exe
|
89
|
+
- lib/runners/mspec0512/CommandLine.dll
|
90
|
+
- lib/runners/mspec0512/CommandLine.xml
|
91
|
+
- lib/runners/mspec0512/License.txt
|
92
|
+
- lib/runners/mspec0512/Machine.Specifications.Clr4.dll
|
93
|
+
- lib/runners/mspec0512/Machine.Specifications.GallioAdapter.dll
|
94
|
+
- lib/runners/mspec0512/Machine.Specifications.GallioAdapter.plugin
|
95
|
+
- lib/runners/mspec0512/Machine.Specifications.Reporting.Templates.dll
|
96
|
+
- lib/runners/mspec0512/Machine.Specifications.Reporting.dll
|
97
|
+
- lib/runners/mspec0512/Machine.Specifications.SeleniumSupport.dll
|
98
|
+
- lib/runners/mspec0512/Machine.Specifications.WatinSupport.dll
|
99
|
+
- lib/runners/mspec0512/Machine.Specifications.WebDriverSupport.dll
|
100
|
+
- lib/runners/mspec0512/Machine.Specifications.dll
|
101
|
+
- lib/runners/mspec0512/Machine.Specifications.dll.tdnet
|
102
|
+
- lib/runners/mspec0512/mspec-clr4.exe
|
103
|
+
- lib/runners/mspec0512/mspec-clr4.exe.config
|
104
|
+
- lib/runners/mspec0512/mspec-x86-clr4.exe
|
105
|
+
- lib/runners/mspec0512/mspec-x86-clr4.exe.config
|
106
|
+
- lib/runners/mspec0512/mspec-x86.exe
|
107
|
+
- lib/runners/mspec0512/mspec.exe
|
108
|
+
- lib/runners/mspec0515/CommandLine.dll
|
109
|
+
- lib/runners/mspec0515/CommandLine.xml
|
110
|
+
- lib/runners/mspec0515/Machine.Specifications.Clr4.dll
|
111
|
+
- lib/runners/mspec0515/Machine.Specifications.GallioAdapter.dll
|
112
|
+
- lib/runners/mspec0515/Machine.Specifications.GallioAdapter.plugin
|
113
|
+
- lib/runners/mspec0515/Machine.Specifications.Reporting.Templates.dll
|
114
|
+
- lib/runners/mspec0515/Machine.Specifications.Reporting.dll
|
115
|
+
- lib/runners/mspec0515/Machine.Specifications.SeleniumSupport.dll
|
116
|
+
- lib/runners/mspec0515/Machine.Specifications.TDNetRunner.dll
|
117
|
+
- lib/runners/mspec0515/Machine.Specifications.WatinSupport.dll
|
118
|
+
- lib/runners/mspec0515/Machine.Specifications.WebDriverSupport.dll
|
119
|
+
- lib/runners/mspec0515/Machine.Specifications.dll
|
120
|
+
- lib/runners/mspec0515/Machine.Specifications.dll.tdnet
|
121
|
+
- lib/runners/mspec0515/mspec-clr4.exe
|
122
|
+
- lib/runners/mspec0515/mspec-clr4.exe.config
|
123
|
+
- lib/runners/mspec0515/mspec-x86-clr4.exe
|
124
|
+
- lib/runners/mspec0515/mspec-x86-clr4.exe.config
|
125
|
+
- lib/runners/mspec0515/mspec-x86.exe
|
126
|
+
- lib/runners/mspec0515/mspec.exe
|
79
127
|
- lib/runners/nunit262/framework/nunit.framework.dll
|
80
128
|
- lib/runners/nunit262/framework/nunit.framework.xml
|
81
129
|
- lib/runners/nunit262/framework/nunit.mocks.dll
|
@@ -215,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
263
|
version: '0'
|
216
264
|
requirements: []
|
217
265
|
rubyforge_project:
|
218
|
-
rubygems_version: 1.8.
|
266
|
+
rubygems_version: 1.8.24
|
219
267
|
signing_key:
|
220
268
|
specification_version: 3
|
221
269
|
summary: Add a pre-push git hook on any of your repos to build & run tests of your
|