-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMockaroo.MSTest.csproj
More file actions
78 lines (70 loc) · 2.87 KB
/
Mockaroo.MSTest.csproj
File metadata and controls
78 lines (70 loc) · 2.87 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<RootNamespace>Acklann.Mockaroo</RootNamespace>
<AssemblyName>Mockaroo.NET.MSTest</AssemblyName>
<TargetFramework>netcoreapp2.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<Optimize>false</Optimize>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Tests\approved-results\**" />
<EmbeddedResource Remove="Tests\approved-results\**" />
<None Remove="Tests\approved-results\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Acklann.Diffa" Version="1.0.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
<PackageReference Include="MSTest.TestAdapter" Version="1.4.0" />
<PackageReference Include="MSTest.TestFramework" Version="1.4.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="Shouldly" Version="3.0.2" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Mockaroo\Mockaroo.csproj" />
</ItemGroup>
<ItemGroup>
<None Update="test-data\basic-response.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="test-data\composite-response.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="test-data\dictonary-response.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="test-data\partial-response.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="test-data\immutable-response.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="test-data\nested-response.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="TestData.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>TestData.cs</LastGenOutput>
</None>
<None Update="test-data\collection-response.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="your_mockaroo_key.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Service Include="{508349b6-6b84-4df5-91f0-309beebad82d}" />
</ItemGroup>
<ItemGroup>
<Compile Update="TestData.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>TestData.tt</DependentUpon>
</Compile>
</ItemGroup>
<Target Name="AddMockarooKey" BeforeTargets="CoreCompile">
<WriteLinesToFile Condition="!Exists('your_mockaroo_key.txt')" File="your_mockaroo_key.txt" Lines="paste your api-key in this file, you can acquire one from https://mockaroo.com/." Overwrite="true" />
</Target>
</Project>