Skip to content
This repository has been archived by the owner on Dec 2, 2018. It is now read-only.

Commit

Permalink
Remove integration test. Use NUnit3 console runner.
Browse files Browse the repository at this point in the history
  • Loading branch information
bchavez committed Feb 22, 2017
1 parent 5b97de7 commit 87f67c6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
12 changes: 7 additions & 5 deletions source/Builder/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ open Fake
open Utils
open System.Reflection
open Helpers
open Fake.Testing.NUnit3

let workingDir = ChangeWorkingFolder();

Expand Down Expand Up @@ -133,13 +134,14 @@ Target "Clean" (fun _ ->

let RunTests() =
CreateDir Folders.Test
let nunit = findToolInSubPath "nunit-console.exe" Folders.Lib
let nunit = findToolInSubPath "nunit3-console.exe" Folders.Lib
let nunitFolder = System.IO.Path.GetDirectoryName(nunit)

!! TestProject.TestAssembly
|> NUnit (fun p -> { p with
ToolPath = nunitFolder
OutputFile = Files.TestResultFile
|> NUnit3 (fun p -> { p with
ProcessModel = NUnit3ProcessModel.SingleProcessModel
ToolPath = nunit
ResultSpecs = [Files.TestResultFile]
ErrorLevel = TestRunnerErrorLevel.Error })


Expand All @@ -157,7 +159,7 @@ Target "test" (fun _ ->
Target "citest" (fun _ ->
trace "CI TEST"
RunTests()
UploadTestResultsXml TestResultsType.NUnit Folders.Test
UploadTestResultsXml TestResultsType.NUnit3 Folders.Test
)


Expand Down
1 change: 0 additions & 1 deletion source/Dwolla.Checkout.Tests/Dwolla.Checkout.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="IntegrationTest.cs" />
<Compile Include="JsonSerializationTests.cs" />
<Compile Include="MvcMockHelpers.cs" />
<Compile Include="RedirectDeseralizationTest.cs" />
Expand Down
1 change: 1 addition & 0 deletions source/Dwolla.Checkout.Tests/packages.config
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<package id="Moq" version="4.7.0" targetFramework="net462" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net462" />
<package id="NUnit" version="3.6.0" targetFramework="net462" />
<package id="NUnit.ConsoleRunner" version="3.6.0" targetFramework="net462" />
<package id="ObjectDumper" version="1.0.0.12" targetFramework="net462" />
<package id="RestSharp" version="105.2.3" targetFramework="net462" />
</packages>

0 comments on commit 87f67c6

Please sign in to comment.