aboutsummaryrefslogtreecommitdiff
path: root/Aggregator/Tests
diff options
context:
space:
mode:
authorAryadev Chavali <aryadevchavali1@gmail.com>2019-02-02 13:52:09 +0000
committerAryadev Chavali <aryadevchavali1@gmail.com>2019-02-02 13:52:09 +0000
commit9407ece5903e4856868ee8234b505e4b2ef32012 (patch)
tree9554eed4f0bec5da56b60a712ae1fd98ea80df1e /Aggregator/Tests
parent9e5cd91ede18789e43eee4393d4b69e7ae7a46e8 (diff)
downloadnewsaggregator-9407ece5903e4856868ee8234b505e4b2ef32012.tar.gz
newsaggregator-9407ece5903e4856868ee8234b505e4b2ef32012.tar.bz2
newsaggregator-9407ece5903e4856868ee8234b505e4b2ef32012.zip
Added unit tests for testing methods (test driven development)
Diffstat (limited to 'Aggregator/Tests')
-rw-r--r--Aggregator/Tests/Tests.csproj20
-rw-r--r--Aggregator/Tests/UnitTest1.cs11
2 files changed, 31 insertions, 0 deletions
diff --git a/Aggregator/Tests/Tests.csproj b/Aggregator/Tests/Tests.csproj
new file mode 100644
index 0000000..bd52966
--- /dev/null
+++ b/Aggregator/Tests/Tests.csproj
@@ -0,0 +1,20 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <TargetFramework>netcoreapp2.1</TargetFramework>
+
+ <IsPackable>false</IsPackable>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.9.0" />
+ <PackageReference Include="xunit" Version="2.4.0" />
+ <PackageReference Include="xunit.runner.visualstudio" Version="2.4.0" />
+ </ItemGroup>
+
+ <ItemGroup>
+ <ProjectReference Include="..\Classes\Classes.csproj" />
+ <ProjectReference Include="..\Parser\Parser.csproj" />
+ </ItemGroup>
+
+</Project>
diff --git a/Aggregator/Tests/UnitTest1.cs b/Aggregator/Tests/UnitTest1.cs
new file mode 100644
index 0000000..29d2d62
--- /dev/null
+++ b/Aggregator/Tests/UnitTest1.cs
@@ -0,0 +1,11 @@
+using System;
+using Xunit;
+
+namespace Tests {
+ public class UnitTest1 {
+ [Fact]
+ public void Test1() {
+
+ }
+ }
+}