mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-01-19 09:42:29 +08:00
Fixing that SpecFlow tests were not ran using the tools from the NUnit NuGet package
This commit is contained in:
@@ -167,11 +167,12 @@
|
|||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="Spec" DependsOnTargets="Package-Stage">
|
<Target Name="Spec" DependsOnTargets="Package-Stage">
|
||||||
|
<!-- Running SpecFlow tests -->
|
||||||
<CreateItem Include="$(CompileFolder)\*.Specs.dll">
|
<CreateItem Include="$(CompileFolder)\*.Specs.*dll">
|
||||||
<Output TaskParameter="Include" ItemName="SpecAssemblies" />
|
<Output TaskParameter="Include" ItemName="SpecAssemblies" />
|
||||||
</CreateItem>
|
</CreateItem>
|
||||||
<NUnit Assemblies="@(SpecAssemblies)" ToolPath="$(NUnitPackageToolsFolder)" />
|
|
||||||
|
<NUnit Assemblies="@(SpecAssemblies)" ToolPath="@(NUnitPackageToolsFolder)" WorkingDirectory="$(CompileFolder)" OutputXmlFile="$(BuildFolder)\Orchard.Specs.xml" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<!-- Packaging (Stage) -->
|
<!-- Packaging (Stage) -->
|
||||||
|
|||||||
Reference in New Issue
Block a user