-
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Playwright
dotnet new
Template (#1660)
* Playwright Template * Add template.json files * Fix
- Loading branch information
Showing
14 changed files
with
98 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
TUnit.Templates/content/TUnit.AspNet/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/template", | ||
"author": "Tom Longhurst", | ||
"description": "A template for testing an ASP.NET Core project with TUnit", | ||
"classifications": [ | ||
"Test", | ||
"TUnit", | ||
"Asp", | ||
"ASP.NET" | ||
], | ||
"name": "TUnit ASP.NET Core Project", | ||
"identity": "TUnit.Test.AspNet", | ||
"groupIdentity": "TUnit", | ||
"shortName": "TUnit.AspNet", | ||
"tags": { | ||
"language": "C#", | ||
"type": "project" | ||
}, | ||
"sourceName": "TestProject", | ||
"preferNameDirectory": true | ||
} | ||
|
21 changes: 21 additions & 0 deletions
21
TUnit.Templates/content/TUnit.Playwright/.template.config/template.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/template", | ||
"author": "Tom Longhurst", | ||
"description": "A template for testing using Playwright with TUnit", | ||
"classifications": [ | ||
"Test", | ||
"TUnit", | ||
"Playwright" | ||
], | ||
"name": "TUnit Playwright Project", | ||
"identity": "TUnit.Test.Playwright", | ||
"groupIdentity": "TUnit", | ||
"shortName": "TUnit.Playwright", | ||
"tags": { | ||
"language": "C#", | ||
"type": "project" | ||
}, | ||
"sourceName": "TestProject", | ||
"preferNameDirectory": true | ||
} | ||
|
4 changes: 2 additions & 2 deletions
4
TUnit.Playwright.Tests/Hooks.cs → ...mplates/content/TUnit.Playwright/Hooks.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
TUnit.Templates/content/TUnit.Playwright/TestProject.csproj
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>enable</Nullable> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net8.0</TargetFramework> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="TUnit.Playwright" Version="0.7.0" /> | ||
</ItemGroup> | ||
|
||
</Project> |
9 changes: 2 additions & 7 deletions
9
TUnit.Playwright.Tests/Tests.cs → ...mplates/content/TUnit.Playwright/Tests.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters