playwright-dotnet icon indicating copy to clipboard operation
playwright-dotnet copied to clipboard

[Feature] Create a template to be used with dotnet new/vs/vsc

Open Meir017 opened this issue 3 years ago • 1 comments

the ability to create a new playwright tests project using the dotnet cli command dotnet new

with some options:

  • having an argument to specify which testing library to use [nunit / mstest]
  • adding a github actions configuration file
  • bundle drivers? (https://playwright.dev/dotnet/docs/intro#bundle-drivers-for-different-platforms)

Meir017 avatar Jul 18 '22 18:07 Meir017

Very good suggestion! Once our testing harness story is done in 1-2 release we'll do it!


Notes:

  • https://github.com/dotnet/test-templates/tree/main/template_feed/Microsoft.DotNet.Test.ProjectTemplates.7.0/content

mxschmitt avatar Jul 18 '22 20:07 mxschmitt

This seems done, there is dotnet new mstest-playwright and dotnet new nunit-playwright

mxschmitt avatar Dec 06 '23 01:12 mxschmitt