unoplatform / uno

Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
https://platform.uno
Apache License 2.0
8.62k stars 696 forks source link

[UITesting] Add UI Test project in dotnet new and vsix experiences #3241

Closed jeromelaban closed 1 year ago

jeromelaban commented 4 years ago

What would you like to be added:

Add a dotnet new and VSIX Uno.UITest project experience, using the structure provided by Uno.UITest.

For which Platform:

Anything else we need to know?

Youssef1313 commented 2 years ago

I'm going to try with this one :)

Youssef1313 commented 2 years ago

@jeromelaban Actually there is already a dotnet new template:

https://github.com/unoplatform/uno/blob/master/src/SolutionTemplate/Uno.ProjectTemplates.Dotnet/content/unoapp-uitest/.template.config/template.json

Is the needed work to make it available in VSIX? or I'm missing something?

GitHub
uno/template.json at master · unoplatform/uno
Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported. - uno/template.json at master · unoplatform/uno
Youssef1313 commented 2 years ago

For reference, it was added in https://github.com/unoplatform/uno/pull/5058.

Youssef1313 commented 2 years ago

@jeromelaban I just noticed the template actually exists in VS.

image

However, I can't see anything related in VSIX2019 or VSIX2022 projects. The only related thing is vs-2017.3.host.json in Uno.ProjectTemplates.Dotnet.

I had though this project is only for command line.

jeromelaban commented 2 years ago

It exists because it's present in the dotnet new templates if installed by the user.