mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-04-05 21:01:35 +08:00

--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4040321
21 lines
1.0 KiB
XML
21 lines
1.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project DefaultTargets="TeamCity" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<!-- TeamCity built-in NUnit runner -->
|
|
<UsingTask TaskName="NUnit" AssemblyFile="$(teamcity_dotnet_nunitlauncher_msbuild_task)"/>
|
|
|
|
<!-- Build solution file in debug mode for running tests -->
|
|
<Target Name ="BuildSolution">
|
|
<MSBuild
|
|
Projects="src\Orchard.sln"
|
|
Targets="Build"
|
|
Properties="Configuration=Debug"/>
|
|
</Target>
|
|
|
|
<!-- Run unit tests using TeamCity NUnit runner -->
|
|
<Target Name="TeamCity" DependsOnTargets="BuildSolution">
|
|
<!-- TODO: This will change once we have a proper build task into the "dist" directory -->
|
|
<!-- Note: We use x86 because we are using a x86 version of SQLite -->
|
|
<NUnit Platform="x86" NUnitVersion="NUnit-2.5.0" Assemblies="src\Orchard.Tests\bin\Debug\Orchard.Tests.dll;src\Orchard.Web.Tests\bin\Debug\Orchard.Web.Tests.dll;src\Orchard.Tests.Packages\bin\Debug\Orchard.Tests.Packages.dll"/>
|
|
</Target>
|
|
</Project>
|