pre_push 0.0.1
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/.gitignore +21 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +5 -0
- data/bin/pre-push +15 -0
- data/bin/prepush +19 -0
- data/lib/pre_push/version.rb +3 -0
- data/lib/pre_push.rb +53 -0
- data/lib/prepush_validator.rb +23 -0
- data/lib/runners/mspec/CommandLine.dll +0 -0
- data/lib/runners/mspec/CommandLine.xml +504 -0
- data/lib/runners/mspec/InstallDotCoverRunner.2.0.bat +7 -0
- data/lib/runners/mspec/InstallDotCoverRunner.2.1.bat +7 -0
- data/lib/runners/mspec/InstallDotCoverRunner.2.2.bat +7 -0
- data/lib/runners/mspec/InstallResharperRunner.6.1.bat +10 -0
- data/lib/runners/mspec/InstallResharperRunner.7.0.bat +10 -0
- data/lib/runners/mspec/InstallResharperRunner.7.1.bat +10 -0
- data/lib/runners/mspec/InstallTDNetRunner.bat +16 -0
- data/lib/runners/mspec/InstallTDNetRunnerSilent.bat +16 -0
- data/lib/runners/mspec/JetBrains.dotCover.Resources.dll +0 -0
- data/lib/runners/mspec/License.txt +54 -0
- data/lib/runners/mspec/Machine.Specifications.Clr4.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.GallioAdapter.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.GallioAdapter.plugin +43 -0
- data/lib/runners/mspec/Machine.Specifications.ReSharperRunner.6.0.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.ReSharperRunner.6.1.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.ReSharperRunner.7.0.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.ReSharperRunner.7.1.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.Reporting.Templates.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.Reporting.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.SeleniumSupport.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.TDNetRunner.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.WatinSupport.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.WebDriverSupport.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.dll.tdnet +5 -0
- data/lib/runners/mspec/Machine.Specifications.dotCoverRunner.2.0.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.dotCoverRunner.2.1.dll +0 -0
- data/lib/runners/mspec/Machine.Specifications.dotCoverRunner.2.2.dll +0 -0
- data/lib/runners/mspec/Spark.dll +0 -0
- data/lib/runners/mspec/TestDriven.Framework.dll +0 -0
- data/lib/runners/mspec/install.ps1 +6 -0
- data/lib/runners/mspec/mspec-clr4.exe +0 -0
- data/lib/runners/mspec/mspec-clr4.exe.config +9 -0
- data/lib/runners/mspec/mspec-x86-clr4.exe +0 -0
- data/lib/runners/mspec/mspec-x86-clr4.exe.config +9 -0
- data/lib/runners/mspec/mspec-x86.exe +0 -0
- data/lib/runners/mspec/mspec.exe +0 -0
- data/lib/runners/nunit262/framework/nunit.framework.dll +0 -0
- data/lib/runners/nunit262/framework/nunit.framework.xml +10899 -0
- data/lib/runners/nunit262/framework/nunit.mocks.dll +0 -0
- data/lib/runners/nunit262/lib/NSubstitute.dll +0 -0
- data/lib/runners/nunit262/lib/nunit-console-runner.dll +0 -0
- data/lib/runners/nunit262/lib/nunit-gui-runner.dll +0 -0
- data/lib/runners/nunit262/lib/nunit.core.dll +0 -0
- data/lib/runners/nunit262/lib/nunit.core.interfaces.dll +0 -0
- data/lib/runners/nunit262/lib/nunit.uiexception.dll +0 -0
- data/lib/runners/nunit262/lib/nunit.uikit.dll +0 -0
- data/lib/runners/nunit262/lib/nunit.util.dll +0 -0
- data/lib/runners/nunit262/nunit-agent.exe +0 -0
- data/lib/runners/nunit262/nunit-agent.exe.config +37 -0
- data/lib/runners/nunit262/nunit-console.exe +0 -0
- data/lib/runners/nunit262/nunit-console.exe.config +24 -0
- data/lib/runners/nunit262/nunit-editor.exe +0 -0
- data/lib/runners/nunit262/nunit.exe +0 -0
- data/lib/runners/nunit262/nunit.exe.config +23 -0
- data/lib/runners/nunit262/nunit.framework.dll +0 -0
- data/lib/runners/xunit191/xunit.console.exe +0 -0
- data/lib/runners/xunit191/xunit.console.exe.config +21 -0
- data/lib/runners/xunit191/xunit.dll +0 -0
- data/lib/runners/xunit191/xunit.dll.tdnet +5 -0
- data/lib/runners/xunit191/xunit.extensions.dll +0 -0
- data/lib/runners/xunit191/xunit.runner.msbuild.dll +0 -0
- data/lib/runners/xunit191/xunit.runner.tdnet.dll +0 -0
- data/lib/runners/xunit191/xunit.runner.utility.dll +0 -0
- data/lib/runners/xunit191/xunit.runner.utility.xml +1212 -0
- data/lib/runners/xunit191/xunit.xml +2611 -0
- data/lib/spec_helper.rb +4 -0
- data/pre_push.gemspec +23 -0
- data/spec/TestProj/TestProj/AllTests.cs +31 -0
- data/spec/TestProj/TestProj/Properties/AssemblyInfo.cs +36 -0
- data/spec/TestProj/TestProj/TestProj.csproj +71 -0
- data/spec/TestProj/TestProj/TestProj.csproj.user +6 -0
- data/spec/TestProj/TestProj/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +0 -0
- data/spec/TestProj/TestProj/packages.config +6 -0
- data/spec/TestProj/TestProj.5.1.ReSharper.user +59 -0
- data/spec/TestProj/TestProj.sln +20 -0
- data/spec/TestProj/TestProj.suo +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/Machine.Specifications.0.5.12.nupkg +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.TDNetRunner.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/lib/net20/Machine.Specifications.dll.tdnet +5 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.Clr4.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.TDNetRunner.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/lib/net40/Machine.Specifications.dll.tdnet +5 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/CommandLine.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/CommandLine.xml +504 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.0.bat +7 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.1.bat +7 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallDotCoverRunner.2.2.bat +7 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.6.1.bat +10 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.0.bat +10 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallResharperRunner.7.1.bat +10 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallTDNetRunner.bat +16 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/InstallTDNetRunnerSilent.bat +16 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/JetBrains.dotCover.Resources.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/License.txt +54 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Clr4.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.GallioAdapter.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.GallioAdapter.plugin +43 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.6.1.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.7.0.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.ReSharperRunner.7.1.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Reporting.Templates.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.Reporting.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.SeleniumSupport.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.TDNetRunner.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.WatinSupport.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.WebDriverSupport.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dll.tdnet +5 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.0.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.1.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Machine.Specifications.dotCoverRunner.2.2.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/Spark.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/TestDriven.Framework.dll +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/install.ps1 +6 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/mspec-clr4.exe +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/mspec-clr4.exe.config +9 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/mspec-x86-clr4.exe +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/mspec-x86-clr4.exe.config +9 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/mspec-x86.exe +0 -0
- data/spec/TestProj/packages/Machine.Specifications.0.5.12/tools/mspec.exe +0 -0
- data/spec/TestProj/packages/NUnit.2.6.2/NUnit.2.6.2.nupkg +0 -0
- data/spec/TestProj/packages/NUnit.2.6.2/lib/nunit.framework.dll +0 -0
- data/spec/TestProj/packages/NUnit.2.6.2/lib/nunit.framework.xml +10899 -0
- data/spec/TestProj/packages/NUnit.2.6.2/license.txt +15 -0
- data/spec/TestProj/packages/repositories.config +4 -0
- data/spec/TestProj/packages/xunit.1.9.1/lib/net20/xunit.dll +0 -0
- data/spec/TestProj/packages/xunit.1.9.1/lib/net20/xunit.dll.tdnet +5 -0
- data/spec/TestProj/packages/xunit.1.9.1/lib/net20/xunit.runner.msbuild.dll +0 -0
- data/spec/TestProj/packages/xunit.1.9.1/lib/net20/xunit.runner.tdnet.dll +0 -0
- data/spec/TestProj/packages/xunit.1.9.1/lib/net20/xunit.runner.utility.dll +0 -0
- data/spec/TestProj/packages/xunit.1.9.1/lib/net20/xunit.xml +2611 -0
- data/spec/TestProj/packages/xunit.1.9.1/xunit.1.9.1.nupkg +0 -0
- data/spec/mspec_integration_spec.rb +13 -0
- data/spec/nunit_integration_spec.rb +14 -0
- data/spec/pre_push_spec.rb +36 -0
- metadata +290 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<!--
|
|
4
|
+
The .NET 2.0 build of nunit-agent only
|
|
5
|
+
runs under .NET 2.0 or higher. The setting
|
|
6
|
+
useLegacyV2RuntimeActivationPolicy only applies
|
|
7
|
+
under .NET 4.0 and permits use of mixed mode
|
|
8
|
+
assemblies, which would otherwise not load
|
|
9
|
+
correctly.
|
|
10
|
+
-->
|
|
11
|
+
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
12
|
+
<!--
|
|
13
|
+
Nunit-agent is normally run by the console or gui
|
|
14
|
+
runners and not independently. In normal usage,
|
|
15
|
+
the runner specifies which runtime should be used.
|
|
16
|
+
|
|
17
|
+
Do NOT add any supportedRuntime elements here,
|
|
18
|
+
since they may prevent the runner from controlling
|
|
19
|
+
the runtime that is used!
|
|
20
|
+
-->
|
|
21
|
+
</startup>
|
|
22
|
+
|
|
23
|
+
<runtime>
|
|
24
|
+
<!-- Ensure that test exceptions don't crash NUnit -->
|
|
25
|
+
<legacyUnhandledExceptionPolicy enabled="1" />
|
|
26
|
+
|
|
27
|
+
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
|
28
|
+
<loadFromRemoteSources enabled="true" />
|
|
29
|
+
|
|
30
|
+
<!-- Look for addins in the addins directory for now -->
|
|
31
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
32
|
+
<probing privatePath="lib;addins"/>
|
|
33
|
+
</assemblyBinding>
|
|
34
|
+
|
|
35
|
+
</runtime>
|
|
36
|
+
|
|
37
|
+
</configuration>
|
|
Binary file
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<!--
|
|
4
|
+
The .NET 2.0 build of the console runner only
|
|
5
|
+
runs under .NET 2.0 or higher. The setting
|
|
6
|
+
useLegacyV2RuntimeActivationPolicy only applies
|
|
7
|
+
under .NET 4.0 and permits use of mixed mode
|
|
8
|
+
assemblies, which would otherwise not load
|
|
9
|
+
correctly.
|
|
10
|
+
-->
|
|
11
|
+
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
12
|
+
<!-- Comment out the next line to force use of .NET 4.0 -->
|
|
13
|
+
</startup>
|
|
14
|
+
<runtime>
|
|
15
|
+
<!-- Ensure that test exceptions don't crash NUnit -->
|
|
16
|
+
<legacyUnhandledExceptionPolicy enabled="1"/>
|
|
17
|
+
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
|
18
|
+
<loadFromRemoteSources enabled="true"/>
|
|
19
|
+
<!-- Look for addins in the addins directory for now -->
|
|
20
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
21
|
+
<probing privatePath="lib;addins"/>
|
|
22
|
+
</assemblyBinding>
|
|
23
|
+
</runtime>
|
|
24
|
+
</configuration>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<configuration>
|
|
3
|
+
<!--
|
|
4
|
+
The GUI only runs under .NET 2.0 or higher. The
|
|
5
|
+
useLegacyV2RuntimeActivationPolicy setting only
|
|
6
|
+
applies under .NET 4.0 and permits use of mixed
|
|
7
|
+
mode assemblies, which would otherwise not load
|
|
8
|
+
correctly.
|
|
9
|
+
-->
|
|
10
|
+
<startup useLegacyV2RuntimeActivationPolicy="true">
|
|
11
|
+
<!-- Comment out the next line to force use of .NET 4.0 -->
|
|
12
|
+
</startup>
|
|
13
|
+
<runtime>
|
|
14
|
+
<!-- Ensure that test exceptions don't crash NUnit -->
|
|
15
|
+
<legacyUnhandledExceptionPolicy enabled="1"/>
|
|
16
|
+
<!-- Run partial trust V2 assemblies in full trust under .NET 4.0 -->
|
|
17
|
+
<loadFromRemoteSources enabled="true"/>
|
|
18
|
+
<!-- Look for addins in the addins directory for now -->
|
|
19
|
+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
|
20
|
+
<probing privatePath="lib;addins"/>
|
|
21
|
+
</assemblyBinding>
|
|
22
|
+
</runtime>
|
|
23
|
+
</configuration>
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
+
<configuration>
|
|
3
|
+
|
|
4
|
+
<configSections>
|
|
5
|
+
<section name="xunit" type="Xunit.ConsoleClient.XunitConsoleConfigurationSection, xunit.console"/>
|
|
6
|
+
</configSections>
|
|
7
|
+
|
|
8
|
+
<xunit>
|
|
9
|
+
<transforms>
|
|
10
|
+
<add
|
|
11
|
+
commandline="html"
|
|
12
|
+
xslfile="HTML.xslt"
|
|
13
|
+
description="output results to HTML file"/>
|
|
14
|
+
<add
|
|
15
|
+
commandline="nunit"
|
|
16
|
+
xslfile="NUnitXml.xslt"
|
|
17
|
+
description="output results to NUnit-style XML file"/>
|
|
18
|
+
</transforms>
|
|
19
|
+
</xunit>
|
|
20
|
+
|
|
21
|
+
</configuration>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|