Skip to content

Commit

Permalink
Support nunit test adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
nvborisenko committed Feb 21, 2019
1 parent d689615 commit 028d92e
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ReportPortal.NUnitExtension/Build/ReportPortal.NUnit.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<ItemGroup>

<None Include="$(_ReportPortal_AddinsFile_Path)" >
<Link>%(Filename)%(Extension)</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Visible>False</Visible>
</None>

</ItemGroup>

</Project>
13 changes: 13 additions & 0 deletions ReportPortal.NUnitExtension/Build/ReportPortal.NUnit.targets
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>

<_ReportPortal_NUnit_Runtime Condition=" '$(TargetFrameworkIdentifier)' == '.NETFramework' ">net45</_ReportPortal_NUnit_Runtime>
<_ReportPortal_NUnit_Runtime_Path>$(MSBuildThisFileDirectory)\..\lib\$(_ReportPortal_NUnit_Runtime)\ReportPortal.NUnitExtension.dll</_ReportPortal_NUnit_Runtime_Path>

<_ReportPortal_AddinsFile_Path>$(MSBuildThisFileDirectory)\..\ReportPortal.addins</_ReportPortal_AddinsFile_Path>

</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@
<PackageReference Include="ReportPortal.Shared" Version="2.1.4" />
</ItemGroup>

<ItemGroup>
<None Include="Build\**" Pack="true" PackagePath="build\" />
<None Include="ReportPortal.addins" Pack="true" PackagePath="." />
</ItemGroup>


</Project>
1 change: 1 addition & 0 deletions ReportPortal.NUnitExtension/ReportPortal.addins
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ReportPortal.NUnitExtension.dll

0 comments on commit 028d92e

Please sign in to comment.