Skip to content

Commit f94c98b

Browse files
committed
Project rename + re-add global.json
1 parent 7b1aad2 commit f94c98b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+77
-68
lines changed

GeekLearning.Test.Integration.sln renamed to GeekLearning.Testavior.sln

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,24 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26403.3
4+
VisualStudioVersion = 15.0.26430.6
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{033A6692-6022-469D-A0E7-B9C636CA05A8}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "items", "items", "{54842458-42F9-4A49-A286-83AA1071184A}"
99
ProjectSection(SolutionItems) = preProject
1010
.gitignore = .gitignore
11+
global.json = global.json
1112
README.md = README.md
1213
EndProjectSection
1314
EndProject
1415
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "sample", "sample", "{36903259-F63B-480F-9F84-005D0A2BA8DA}"
1516
EndProject
1617
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "specflow", "specflow", "{D6AF528A-BA8D-47D7-BAD0-810154BB0FD9}"
1718
EndProject
18-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GeekLearning.Test.Integration", "src\GeekLearning.Test.Integration\GeekLearning.Test.Integration.csproj", "{F28C9E50-7EB0-4368-9812-8EE693648E78}"
19+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GeekLearning.Testavior", "src\GeekLearning.Testavior\GeekLearning.Testavior.csproj", "{F28C9E50-7EB0-4368-9812-8EE693648E78}"
1920
EndProject
20-
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GeekLearning.Test.Configuration", "src\GeekLearning.Test.Configuration\GeekLearning.Test.Configuration.csproj", "{9146CE74-6610-472E-8FC8-3AEF733868D0}"
21+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GeekLearning.Testavior.Configuration", "src\GeekLearning.Testavior.Configuration\GeekLearning.Testavior.Configuration.csproj", "{9146CE74-6610-472E-8FC8-3AEF733868D0}"
2122
EndProject
2223
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Sample.Test.Splecflow", "sample\Sample.Test.Splecflow\Sample.Test.Splecflow.csproj", "{8EF01F44-FDCC-4E25-8519-2D93C450379A}"
2324
EndProject

global.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"projects": [ "src", "sample" ],
3+
"sdk": {
4+
"version": "1.0.4"
5+
}
6+
}

sample/Sample.Test.Splecflow/Api/GetBlogs/GetBlogs.steps.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
namespace GeekLearning.Test.Integration.Sample.Test.GetBlogs.Api
22
{
3-
using Data;
4-
using Environment;
5-
using Newtonsoft.Json;
6-
using System.Collections.Generic;
7-
using System.Net.Http;
3+
using GeekLearning.Testavior;
4+
using GeekLearning.Testavior.Environment;
5+
using GeekLearning.Testavior.Sample.Data;
6+
using Newtonsoft.Json;
7+
using System.Collections.Generic;
88
using TechTalk.SpecFlow;
99
using TechTalk.SpecFlow.Assist;
1010

sample/Sample.Test.Splecflow/MainSteps.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GeekLearning.Test.Integration.Sample.Test
1+
namespace GeekLearning.Testavior.Sample.Test
22
{
33
using Data;
44
using Environment;

sample/Sample.Test.Splecflow/Mvc/CreateBlog/CreateBlog.steps.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
namespace GeekLearning.Test.Integration.Sample.Test.Mvc.CreateBlog
22
{
3-
using Environment;
3+
using GeekLearning.Testavior.Environment;
4+
using GeekLearning.Testavior.Sample.Data;
45
using Microsoft.Extensions.DependencyInjection;
56
using Microsoft.VisualStudio.TestTools.UnitTesting;
6-
using System;
77
using System.Linq;
88
using System.Net.Http;
99
using TechTalk.SpecFlow;
@@ -16,7 +16,7 @@ public void WhenICreateANewBlog(string blogUrl)
1616
{
1717
ScenarioContext.Current.Get<ITestEnvironment>("TestEnvironment")
1818
.Client
19-
.PostAsJsonAntiForgeryAsync("blogs/create", new Data.Blog { Url = blogUrl }).Wait();
19+
.PostAsJsonAntiForgeryAsync("blogs/create", new Blog { Url = blogUrl }).Wait();
2020
}
2121

2222
[Then(@"the blog '(.*)' must be created")]
@@ -25,7 +25,7 @@ public void ThenTheBlogMustBeCreated(string blogUrl)
2525
using (var serviceScope = ScenarioContext.Current.Get<ITestEnvironment>("TestEnvironment").ServiceProvider.GetRequiredService<IServiceScopeFactory>().CreateScope())
2626
{
2727
Assert.IsNotNull(serviceScope.ServiceProvider
28-
.GetService<Data.BloggingContext>()
28+
.GetService<BloggingContext>()
2929
.Blogs
3030
.FirstOrDefault(b => b.Url == blogUrl));
3131
}

sample/Sample.Test.Splecflow/Mvc/GetBlogs/GetBlogs.steps.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
namespace GeekLearning.Test.Integration.Sample.Test.GetBlogs.Mvc
22
{
3-
using Data;
4-
using Environment;
5-
using Integration.Mvc;
3+
using GeekLearning.Testavior;
4+
using GeekLearning.Testavior.Environment;
5+
using GeekLearning.Testavior.Mvc;
6+
using GeekLearning.Testavior.Sample.Data;
67
using Microsoft.Extensions.DependencyInjection;
78
using System.Collections.Generic;
89
using TechTalk.SpecFlow;

sample/Sample.Test.Splecflow/Sample.Test.Splecflow.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<ProjectReference Include="..\..\src\GeekLearning.Test.Integration\GeekLearning.Test.Integration.csproj" />
11+
<ProjectReference Include="..\..\src\GeekLearning.Testavior\GeekLearning.Testavior.csproj" />
1212
<ProjectReference Include="..\Sample.Web\Sample.Web.csproj" />
1313
</ItemGroup>
1414

sample/Sample.Test/Api/GetBlogs/GetBlogsApiTest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
namespace GeekLearning.Test.Integration.Sample.Test.Api.GetBlogs
1+
namespace GeekLearning.Testavior.Sample.Test.Api.GetBlogs
22
{
3-
using GeekLearning.Test.Integration.Sample.Data;
3+
using GeekLearning.Testavior.Sample.Data;
44
using Microsoft.VisualStudio.TestTools.UnitTesting;
55
using Newtonsoft.Json;
66
using System.Collections.Generic;

sample/Sample.Test/BaseTestClass.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
namespace GeekLearning.Test.Integration.Sample.Test
1+
namespace GeekLearning.Testavior.Sample.Test
22
{
33
using Data;
4-
using Environment;
4+
using GeekLearning.Testavior.Environment;
55
using Microsoft.Extensions.DependencyInjection;
66
using System.Collections.Generic;
77
using System.IO;

sample/Sample.Test/Mvc/CreateBlog/CreateBlogMvcTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace GeekLearning.Test.Integration.Sample.Test.Mvc.CreateBlog
1+
namespace GeekLearning.Testavior.Sample.Test.Mvc.CreateBlog
22
{
33
using Microsoft.Extensions.DependencyInjection;
44
using Microsoft.VisualStudio.TestTools.UnitTesting;

0 commit comments

Comments
 (0)