Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

corrected the build output and got basic build w/ code coverage working

  • Loading branch information...
commit 2709e281fcb38f9157f1211cf1eb21f9a4afd349 1 parent 1b9729f
Derick Bailey authored
3  .gitignore
@@ -9,4 +9,5 @@ _ReSharper.*
9 9 ~$*
10 10 *.tmp
11 11 build
12   -codecoverage
  12 +codecoverage
  13 +src/VersionInfo.cs
4 rakefile.rb
@@ -30,7 +30,7 @@
30 30
31 31 nunit = NUnitTestRunner.new("tools/NUnit-v2.5/nunit-console.exe")
32 32 nunit.log_level = :verbose
33   - nunit.assemblies << "assemblies/TestSolution.Tests.dll"
  33 + nunit.assemblies << "UoW.Specs.dll"
34 34 nunit.options << '/noshadow'
35 35
36 36 ncc.testrunner = nunit
@@ -45,7 +45,7 @@
45 45 fullcoveragereport.output_path = @@coverage_report
46 46 ncr.reports << fullcoveragereport
47 47
48   - ncr.required_coverage << NCover::BranchCoverage.new(:minimum => 50)
  48 + ncr.required_coverage << NCover::BranchCoverage.new(:minimum => 10)
49 49 ncr.required_coverage << NCover::SymbolCoverage.new(:minimum => 50)
50 50 ncr.required_coverage << NCover::MethodCoverage.new(:minimum => 50)
51 51 ncr.required_coverage << NCover::CyclomaticComplexity.new(:maximum => 100)
2  src/UoW.Specs/NHibernate/NHibernateTransactionSpecs.cs
@@ -65,7 +65,7 @@ protected override void Context()
65 65 {"connection.provider", "NHibernate.Connection.DriverConnectionProvider"},
66 66 {
67 67 "connection.connection_string",
68   - @"Data Source=..\..\..\Database\FooDb.s3db"
  68 + @"Data Source=FooDb.s3db"
69 69 },
70 70 {"connection.release_mode", "on_close"},
71 71 {"proxyfactory.factory_class", "NHibernate.ByteCode.Castle.ProxyFactoryFactory, NHibernate.ByteCode.Castle"}
4 src/UoW.Specs/UoW.Specs.csproj
@@ -139,6 +139,10 @@
139 139 </Content>
140 140 </ItemGroup>
141 141 <ItemGroup>
  142 + <Content Include="..\Database\FooDb.s3db">
  143 + <Link>FooDb.s3db</Link>
  144 + <CopyToOutputDirectory>Always</CopyToOutputDirectory>
  145 + </Content>
142 146 <None Include="App.config" />
143 147 </ItemGroup>
144 148 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
1  src/UoW.sln
@@ -24,6 +24,7 @@ Global
24 24 {61CBD88C-8E5E-4587-979C-44D7BE3C42F4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25 25 {61CBD88C-8E5E-4587-979C-44D7BE3C42F4}.Debug|Any CPU.Build.0 = Debug|Any CPU
26 26 {61CBD88C-8E5E-4587-979C-44D7BE3C42F4}.Release|Any CPU.ActiveCfg = Release|Any CPU
  27 + {61CBD88C-8E5E-4587-979C-44D7BE3C42F4}.Release|Any CPU.Build.0 = Release|Any CPU
27 28 {FAC3398D-FD8E-4052-BE0C-102E6FFB467D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28 29 {FAC3398D-FD8E-4052-BE0C-102E6FFB467D}.Debug|Any CPU.Build.0 = Debug|Any CPU
29 30 {FAC3398D-FD8E-4052-BE0C-102E6FFB467D}.Release|Any CPU.ActiveCfg = Release|Any CPU

0 comments on commit 2709e28

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