With the SharePoint Framework Toolkit extension, you can create and manage your SharePoint Framework solutions on your tenant. All actions you need to perform during the development flow are at your fingertips.
The pipeline scaffolding form could provide an additional option that will allow to scaffold a step in yaml flow that will run the gulp test command for the SPFx project in order to run tests
📷 Images (if possible) with expected result
No response
🤔 Additional remarks or comments
This feature should first be extended in the CLI for Microsoft 365 spfx project github workflow add and spfx project azuredevops pipeline add commands. We should first open up an issue in this CLI repo
👣 Step by step plan
SPFx toolkit uses CLI for Microsoft 365 for this feature. In order to get started with this we first need to open an issue in this repo to extend the github workflow add and azuredevops pipeline add commands with an option that will allow to scaffold a pipeline/workflow with a step that will run tests
the new step should run the gulp test or gulp test-only step
🎯 Aim of the feature
The pipeline scaffolding form could provide an additional option that will allow to scaffold a step in yaml flow that will run the
gulp test
command for the SPFx project in order to run tests📷 Images (if possible) with expected result
No response
🤔 Additional remarks or comments
This feature should first be extended in the CLI for Microsoft 365
spfx project github workflow add
andspfx project azuredevops pipeline add
commands. We should first open up an issue in this CLI repo👣 Step by step plan
github workflow add
andazuredevops pipeline add
commands with an option that will allow to scaffold a pipeline/workflow with a step that will run testsgulp test
orgulp test-only
step