Commits

Maxim Moiseev committed f674de5

tests project added

Comments (0)

Files changed (3)

src/Wepr.Tests/Wepr.Tests.fsproj

+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" 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>{c5ac305f-3147-4f26-af6c-e57afc7bf804}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>Wepr.Tests</RootNamespace>
+    <AssemblyName>Wepr.Tests</AssemblyName>
+    <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+    <Name>Wepr.Tests</Name>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <Tailcalls>false</Tailcalls>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <WarningLevel>3</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <Tailcalls>true</Tailcalls>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <WarningLevel>3</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="mscorlib" />
+    <Reference Include="FSharp.Core" />
+    <Reference Include="nunit.framework">
+      <HintPath>D:\work\lib\wepr\lib\nunit.framework.dll</HintPath>
+      <Private>True</Private>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.Core">
+      <RequiredTargetFramework>3.5</RequiredTargetFramework>
+    </Reference>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="WeprTests.fs" />
+  </ItemGroup>
+  <Import Project="$(MSBuildExtensionsPath32)\FSharp\1.0\Microsoft.FSharp.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>

src/Wepr.Tests/WeprTests.fs

+namespace Wepr.Tests
+open System
+open NUnit.Framework
+
+[<TestFixture>]
+type WeprTests() =
+
+    [<SetUp>]
+    member this.SetUp() = 
+        ()
+        
+    [<TearDown>]
+    member this.TearDown() =
+        ()
 # Visual Studio 2008
 Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Wepr", "Wepr\Wepr.fsproj", "{95321677-A32E-45DA-826C-769EC4F921DB}"
 EndProject
+Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "Wepr.Tests", "Wepr.Tests\Wepr.Tests.fsproj", "{C5AC305F-3147-4F26-AF6C-E57AFC7BF804}"
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU
 		{95321677-A32E-45DA-826C-769EC4F921DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
 		{95321677-A32E-45DA-826C-769EC4F921DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
 		{95321677-A32E-45DA-826C-769EC4F921DB}.Release|Any CPU.Build.0 = Release|Any CPU
+		{C5AC305F-3147-4F26-AF6C-E57AFC7BF804}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{C5AC305F-3147-4F26-AF6C-E57AFC7BF804}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{C5AC305F-3147-4F26-AF6C-E57AFC7BF804}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{C5AC305F-3147-4F26-AF6C-E57AFC7BF804}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE