Skip to content

Template Infrastructure #4

@michael-hawker

Description

@michael-hawker

Define the basic structure of a Labs Project and produce a template so it can be easily copied and distributed.

Labs project requirements

We expect the following of resources from Labs project contributions:

  1. Library source code
  2. Sample app with various scenarios
  3. Unit Tests
  4. UI Tests
  5. Documentation

Guidance and tips

In addition to the baseline project structure, we also want to jump-start developers who use the template. The template should include additional resources such as:

  • Guidance for installing the template
    • How to: Generate a copy of the template (put in repo readme)
  • Readme document in generated template to explain:
    • What are the parts?
    • How to: Add library code
    • How to: Run the samples
    • How to: Add new samples
    • How to: Run the unit tests
    • How to: Setup WinAppDriver to run UI tests
    • How to: Add documentation
    • How to: Submit Labs project to repo
  • Working examples and helpful comments in all areas of the project (samples, tests, docs, etc.)

Template generation

To distribute the template, use the dotnet new CLI and add the configuration to the repo.

VSIX was a suggested alternative, but it doesn't support more than one project at a time. We need to be able to generate multiple projects at once.

Open questions

  • Can we include WinAppDriver via a dev dependency NuGet or something and have a pre-build that spawns it automatically to run the UI Tests?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions