Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

TestFrameworkResolver finds NSpec

Modified TestFrameworkResolver to recognize a reference to NSpec.
  • Loading branch information...
commit 339e1c59f12150e008395e8bf1ba5e9c51894f72 1 parent 1d09fe7
@ericbock ericbock authored
Showing with 377 additions and 1 deletion.
  1. +24 −0 lib/nspec.0.9.59/content/DebuggerShim.cs
  2. BIN  lib/nspec.0.9.59/lib/NSpec.dll
  3. BIN  lib/nspec.0.9.59/nspec.0.9.59.nupkg
  4. BIN  lib/nspec.0.9.59/tools/NSpec.dll
  5. BIN  lib/nspec.0.9.59/tools/NSpec.pdb
  6. BIN  lib/nspec.0.9.59/tools/NSpecRunner.exe
  7. +3 −0  lib/nspec.0.9.59/tools/NSpecRunner.exe.config
  8. BIN  lib/nspec.0.9.59/tools/NSpecRunner.pdb
  9. BIN  lib/nspec.0.9.59/tools/NSpecRunner.vshost.exe
  10. +3 −0  lib/nspec.0.9.59/tools/NSpecRunner.vshost.exe.config
  11. +11 −0 lib/nspec.0.9.59/tools/NSpecRunner.vshost.exe.manifest
  12. +20 −0 src/Giles.Specs/Core/Runners/TestFrameworkResolverSpecs.cs
  13. +9 −0 src/Giles.Specs/Giles.Specs.csproj
  14. +38 −0 src/Giles.sln
  15. +58 −0 src/Runners/Giles.Runner.NSpec/Giles.Runner.NSpec.csproj
  16. +21 −0 src/Runners/Giles.Runner.NSpec/NSpecRunner.cs
  17. +20 −0 src/Runners/Giles.Runner.NSpec/NSpecTestFrameworkInspector.cs
  18. +36 −0 src/Runners/Giles.Runner.NSpec/Properties/AssemblyInfo.cs
  19. +20 −0 src/Specs/Support/ClassLibraryWithNSpec/Batman.cs
  20. +19 −0 src/Specs/Support/ClassLibraryWithNSpec/BatmanSpecs.cs
  21. +59 −0 src/Specs/Support/ClassLibraryWithNSpec/ClassLibraryWithNSpec.csproj
  22. +36 −0 src/Specs/Support/ClassLibraryWithNSpec/Properties/AssemblyInfo.cs
  23. +0 −1  src/packages/repositories.config
View
24 lib/nspec.0.9.59/content/DebuggerShim.cs
@@ -0,0 +1,24 @@
+using System;
+using NUnit.Framework;
+using NSpec.Domain;
+using System.Reflection;
+using NSpec;
+using NSpec.Domain.Formatters;
+using System.Linq;
+
+//[TestFixture]
+public class DebuggerShim
+{
+ //[Test]
+ public void debug()
+ {
+ var tagOrClassName = "class_or_tag_you_want_to_debug";
+
+ var invocation = new RunnerInvocation(Assembly.GetExecutingAssembly().Location, tagOrClassName);
+
+ var contexts = invocation.Run();
+
+ //assert that there aren't any failures
+ contexts.Failures().Count().should_be(0);
+ }
+}
View
BIN  lib/nspec.0.9.59/lib/NSpec.dll
Binary file not shown
View
BIN  lib/nspec.0.9.59/nspec.0.9.59.nupkg
Binary file not shown
View
BIN  lib/nspec.0.9.59/tools/NSpec.dll
Binary file not shown
View
BIN  lib/nspec.0.9.59/tools/NSpec.pdb
Binary file not shown
View
BIN  lib/nspec.0.9.59/tools/NSpecRunner.exe
Binary file not shown
View
3  lib/nspec.0.9.59/tools/NSpecRunner.exe.config
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<configuration>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
View
BIN  lib/nspec.0.9.59/tools/NSpecRunner.pdb
Binary file not shown
View
BIN  lib/nspec.0.9.59/tools/NSpecRunner.vshost.exe
Binary file not shown
View
3  lib/nspec.0.9.59/tools/NSpecRunner.vshost.exe.config
@@ -0,0 +1,3 @@
+<?xml version="1.0"?>
+<configuration>
+<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
View
11 lib/nspec.0.9.59/tools/NSpecRunner.vshost.exe.manifest
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
+ <assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
+ <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
+ <security>
+ <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
+ <requestedExecutionLevel level="asInvoker" uiAccess="false"/>
+ </requestedPrivileges>
+ </security>
+ </trustInfo>
+</assembly>
View
20 src/Giles.Specs/Core/Runners/TestFrameworkResolverSpecs.cs
@@ -53,6 +53,26 @@ public class when_resolving_for_the_mspec_runner_in_an_assembly_that_references_
}
[Subject(typeof(TestFrameworkResolver))]
+ public class when_resolving_for_the_nspec_runner_in_an_assembly_that_references_nspec
+ : with_a_test_framework_resolver
+ {
+ static Assembly assembly;
+ static IEnumerable<IFrameworkRunner> result;
+
+ Establish context = () =>
+ assembly = typeof(ClassLibraryWithNSpec.describe_Batman).Assembly;
+
+ Because of = () =>
+ result = subject.Resolve(assembly);
+
+ It should_return_a_result = () =>
+ result.ShouldNotBeEmpty();
+
+ It should_return_the_nspec_framework_runner = () =>
+ result.First().ShouldBeOfType<Giles.Runner.NSpec.NSpecRunner>();
+ }
+
+ [Subject(typeof(TestFrameworkResolver))]
public class when_resolving_for_a_test_runner_and_an_assembly_is_not_passed
: with_a_test_framework_resolver
{
View
9 src/Giles.Specs/Giles.Specs.csproj
@@ -73,13 +73,22 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
+ <Reference Include="ClassLibraryWithNSpec">
+ <HintPath>..\Specs\Support\ClassLibraryWithNSpec\bin\Debug\ClassLibraryWithNSpec.dll</HintPath>
+ </Reference>
<Reference Include="CommandLine">
<HintPath>..\..\lib\CommandLineParser\CommandLine.dll</HintPath>
</Reference>
+ <Reference Include="Giles.Runner.NSpec">
+ <HintPath>..\Runners\Giles.Runner.NSpec\bin\Debug\Giles.Runner.NSpec.dll</HintPath>
+ </Reference>
<Reference Include="Machine.Specifications, Version=0.4.10.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\manual\mspec\Machine.Specifications.dll</HintPath>
</Reference>
+ <Reference Include="NSpec">
+ <HintPath>..\..\lib\nspec.0.9.59\lib\NSpec.dll</HintPath>
+ </Reference>
<Reference Include="NSubstitute">
<HintPath>..\..\lib\NSubstitute.1.0.0.0\lib\35\NSubstitute.dll</HintPath>
</Reference>
View
38 src/Giles.sln
@@ -32,6 +32,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Support", "Support", "{3E0B
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassLibraryWithTests", "Specs\Support\ClassLibraryWithTests\ClassLibraryWithTests.csproj", "{0037A8E6-274D-4489-B018-EA0B5A8F5EE1}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClassLibraryWithNSpec", "Specs\Support\ClassLibraryWithNSpec\ClassLibraryWithNSpec.csproj", "{7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Giles.Runner.NSpec", "Runners\Giles.Runner.NSpec\Giles.Runner.NSpec.csproj", "{84944DF0-E92B-4FF5-9230-2706A28E9F9C}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
AutomatedRelease_x86|Any CPU = AutomatedRelease_x86|Any CPU
@@ -188,6 +192,38 @@ Global
{0037A8E6-274D-4489-B018-EA0B5A8F5EE1}.Release|Any CPU.Build.0 = Release|Any CPU
{0037A8E6-274D-4489-B018-EA0B5A8F5EE1}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{0037A8E6-274D-4489-B018-EA0B5A8F5EE1}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.AutomatedRelease_x86|Any CPU.ActiveCfg = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.AutomatedRelease_x86|Any CPU.Build.0 = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.AutomatedRelease_x86|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.AutomatedRelease_x86|Mixed Platforms.Build.0 = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.AutomatedRelease|Any CPU.ActiveCfg = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.AutomatedRelease|Any CPU.Build.0 = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.AutomatedRelease|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.AutomatedRelease|Mixed Platforms.Build.0 = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.Release|Any CPU.Build.0 = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.AutomatedRelease_x86|Any CPU.ActiveCfg = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.AutomatedRelease_x86|Any CPU.Build.0 = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.AutomatedRelease_x86|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.AutomatedRelease_x86|Mixed Platforms.Build.0 = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.AutomatedRelease|Any CPU.ActiveCfg = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.AutomatedRelease|Any CPU.Build.0 = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.AutomatedRelease|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.AutomatedRelease|Mixed Platforms.Build.0 = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C}.Release|Mixed Platforms.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -199,8 +235,10 @@ Global
{88C6CC22-B9F2-41B8-8E4F-9500902AF874} = {FE17132F-FE11-4657-AAB8-56F3218E3191}
{C2A0F1C6-AA13-468F-844C-0D93A5C299D4} = {FE17132F-FE11-4657-AAB8-56F3218E3191}
{C941D115-6E15-4D73-81BD-9293CDB10BB8} = {FE17132F-FE11-4657-AAB8-56F3218E3191}
+ {84944DF0-E92B-4FF5-9230-2706A28E9F9C} = {FE17132F-FE11-4657-AAB8-56F3218E3191}
{0785BD3A-A28E-494F-8336-4513D3536874} = {CEA7FC00-79CD-4353-9364-8089323CADBA}
{4DA890A6-9916-4164-9ECD-717E59AE9BF5} = {CEA7FC00-79CD-4353-9364-8089323CADBA}
{0037A8E6-274D-4489-B018-EA0B5A8F5EE1} = {3E0B8D31-F5C5-4FD3-AB9E-20BE06874D82}
+ {7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE} = {3E0B8D31-F5C5-4FD3-AB9E-20BE06874D82}
EndGlobalSection
EndGlobal
View
58 src/Runners/Giles.Runner.NSpec/Giles.Runner.NSpec.csproj
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{84944DF0-E92B-4FF5-9230-2706A28E9F9C}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>Giles.Runner.NSpec</RootNamespace>
+ <AssemblyName>Giles.Runner.NSpec</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="Giles.Core">
+ <HintPath>..\..\Giles.Core\bin\Debug\Giles.Core.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="NSpecRunner.cs" />
+ <Compile Include="NSpecTestFrameworkInspector.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
View
21 src/Runners/Giles.Runner.NSpec/NSpecRunner.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Giles.Core.Runners;
+
+namespace Giles.Runner.NSpec
+{
+ public class NSpecRunner : IFrameworkRunner
+ {
+ public IEnumerable<string> RequiredAssemblies()
+ {
+ throw new NotImplementedException();
+ }
+
+ public SessionResults RunAssembly(System.Reflection.Assembly assembly)
+ {
+ throw new NotImplementedException();
+ }
+ }
+}
View
20 src/Runners/Giles.Runner.NSpec/NSpecTestFrameworkInspector.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using Giles.Core.Runners;
+
+namespace Giles.Runner.NSpec
+{
+ public class NSpecTestFrameworkInspector : TestFrameworkInspector
+ {
+ public override Func<System.Reflection.AssemblyName, bool> Requirement
+ {
+ get
+ {
+ return referencedAssembly =>
+ referencedAssembly.Name.Equals("NSpec", StringComparison.InvariantCultureIgnoreCase);
+ }
+ }
+ }
+}
View
36 src/Runners/Giles.Runner.NSpec/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("Giles.Runner.NSpec")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("Giles.Runner.NSpec")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("f13c4902-1212-417b-810a-b38403cca825")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
View
20 src/Specs/Support/ClassLibraryWithNSpec/Batman.cs
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace ClassLibraryWithNSpec
+{
+ public class Batman
+ {
+ public Batman()
+ {
+ UtilityBelt = new List<Gadget> { new Batarang() };
+ }
+
+ public IList<Gadget> UtilityBelt { get; private set; }
+ }
+
+ public class Gadget { }
+ public class Batarang : Gadget { }
+}
View
19 src/Specs/Support/ClassLibraryWithNSpec/BatmanSpecs.cs
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using NSpec;
+
+namespace ClassLibraryWithNSpec
+{
+ public class describe_Batman : nspec
+ {
+ Batman bruce;
+
+ public void specify_his_utility_belt_should_have_gadgets()
+ {
+ before = () => bruce = new Batman();
+ bruce.UtilityBelt.should_not_be_empty();
+ }
+ }
+}
View
59 src/Specs/Support/ClassLibraryWithNSpec/ClassLibraryWithNSpec.csproj
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>8.0.30703</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{7ABB6BBC-3E40-40FC-8F8A-5A42CE64E1CE}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>ClassLibraryWithNSpec</RootNamespace>
+ <AssemblyName>ClassLibraryWithNSpec</AssemblyName>
+ <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>DEBUG;TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="NSpec, Version=0.9.59.0, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\..\..\lib\nspec.0.9.59\lib\NSpec.dll</HintPath>
+ </Reference>
+ <Reference Include="System" />
+ <Reference Include="System.Core" />
+ <Reference Include="System.Xml.Linq" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="Microsoft.CSharp" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Xml" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Batman.cs" />
+ <Compile Include="BatmanSpecs.cs" />
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
+ Other similar extension points exist, see Microsoft.Common.targets.
+ <Target Name="BeforeBuild">
+ </Target>
+ <Target Name="AfterBuild">
+ </Target>
+ -->
+</Project>
View
36 src/Specs/Support/ClassLibraryWithNSpec/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("ClassLibraryWithNSpec")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("ClassLibraryWithNSpec")]
+[assembly: AssemblyCopyright("Copyright © 2012")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("f3013f84-ccb9-4a92-9607-db80a8f11f4c")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
View
1  src/packages/repositories.config
@@ -1,5 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<repositories>
- <repository path="..\Giles.Runner.XUnit\packages.config" />
<repository path="..\Specs\XunitTestRunnerSpecs.cs\packages.config" />
</repositories>
Please sign in to comment.
Something went wrong with that request. Please try again.