Skip to content
Browse files

Added a project for integration tests

Having both types of tests (unit and integration) in the same project it
is difficult for new commiters to understand which tests to run. It's
much easier to run unit tests than integration. Let's have to separate
projects.
  • Loading branch information...
1 parent 2d5b0a8 commit 31daab3a7fc496d7b6b01540163ee7cc98b1a9e2 @o-mdr o-mdr committed
View
13 FluentCassandra.sln
@@ -20,6 +20,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{1A88B962
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentCassandra.Tests", "test\FluentCassandra.Tests\FluentCassandra.Tests.csproj", "{9DAF7022-5820-4214-B13E-AC0A1B37691F}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentCassandra.Integration.Tests", "test\FluentCassandra.Integration.Tests\FluentCassandra.Integration.Tests.csproj", "{707F8904-8E10-4577-919B-A804BE23DFB8}"
+EndProject
Global
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = FluentCassandra.vsmdi
@@ -63,6 +65,16 @@ Global
{9DAF7022-5820-4214-B13E-AC0A1B37691F}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{9DAF7022-5820-4214-B13E-AC0A1B37691F}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{9DAF7022-5820-4214-B13E-AC0A1B37691F}.Release|x86.ActiveCfg = Release|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Release|Any CPU.Build.0 = Release|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {707F8904-8E10-4577-919B-A804BE23DFB8}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -70,6 +82,7 @@ Global
GlobalSection(NestedProjects) = preSolution
{DE6B46DE-C37A-49AF-8B9A-B9B6D4F03A55} = {1A88B962-9A09-4692-80D3-E88712A9E516}
{9DAF7022-5820-4214-B13E-AC0A1B37691F} = {1A88B962-9A09-4692-80D3-E88712A9E516}
+ {707F8904-8E10-4577-919B-A804BE23DFB8} = {1A88B962-9A09-4692-80D3-E88712A9E516}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
$0.CSharpFormattingPolicy = $3
View
15 FluentCassandra_All.sln
@@ -24,6 +24,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tools", "Tools", "{AC1223D1
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentCassandra.LinqPad", "utility\FluentCassandra.LinqPad\FluentCassandra.LinqPad.csproj", "{CACA3463-BBEE-4C7E-AC89-49240B0D8F46}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FluentCassandra.Integration.Tests", "test\FluentCassandra.Integration.Tests\FluentCassandra.Integration.Tests.csproj", "{16246A39-C85C-483A-92DD-184424548C2C}"
+EndProject
Global
GlobalSection(TestCaseManagementSettings) = postSolution
CategoryFile = FluentCassandra.vsmdi
@@ -75,13 +77,24 @@ Global
{CACA3463-BBEE-4C7E-AC89-49240B0D8F46}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{CACA3463-BBEE-4C7E-AC89-49240B0D8F46}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{CACA3463-BBEE-4C7E-AC89-49240B0D8F46}.Release|x86.ActiveCfg = Release|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Release|Mixed Platforms.Build.0 = Release|Any CPU
+ {16246A39-C85C-483A-92DD-184424548C2C}.Release|x86.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
- {9DAF7022-5820-4214-B13E-AC0A1B37691F} = {1A88B962-9A09-4692-80D3-E88712A9E516}
{DE6B46DE-C37A-49AF-8B9A-B9B6D4F03A55} = {1A88B962-9A09-4692-80D3-E88712A9E516}
+ {9DAF7022-5820-4214-B13E-AC0A1B37691F} = {1A88B962-9A09-4692-80D3-E88712A9E516}
+ {16246A39-C85C-483A-92DD-184424548C2C} = {1A88B962-9A09-4692-80D3-E88712A9E516}
{CACA3463-BBEE-4C7E-AC89-49240B0D8F46} = {AC1223D1-1638-4DEB-9CFF-8B0C43854BB0}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
View
46 test/FluentCassandra.Integration.Tests/FluentCassandra.Integration.Tests.csproj
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProjectGuid>{707F8904-8E10-4577-919B-A804BE23DFB8}</ProjectGuid>
+ <OutputType>Library</OutputType>
+ <AppDesignerFolder>Properties</AppDesignerFolder>
+ <RootNamespace>FluentCassandra.Integration.Tests</RootNamespace>
+ <AssemblyName>FluentCassandra.Integration.Tests</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>
+ <Compile Include="Properties\AssemblyInfo.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="Readme.txt" />
+ </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
35 test/FluentCassandra.Integration.Tests/Properties/AssemblyInfo.cs
@@ -0,0 +1,35 @@
+using System.Reflection;
+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("FluentCassandra.Integration.Tests")]
+[assembly: AssemblyDescription("Integration tests with real Cassandra database")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyProduct("FluentCassandra.Integration.Tests")]
+[assembly: AssemblyCompany("Managed Fusion, LLC")]
+[assembly: AssemblyCopyright("Copyright © Nick Berardi, Managed Fusion, LLC 2011")]
+[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("4f0cbb9e-db27-49c1-abac-fc56d9775412")]
+
+// 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 test/FluentCassandra.Integration.Tests/Readme.txt
@@ -0,0 +1 @@
+This project shall contain all the tests that require a running Cassandra datanase

0 comments on commit 31daab3

Please sign in to comment.
Something went wrong with that request. Please try again.