Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CoE Starter Kit - Feature]: Generative AI Test Case Generation #9312

Open
Grant-Archibald-MS opened this issue Nov 23, 2024 · 3 comments
Open
Labels
coe-starter-kit CoE Starter Kit issues enhancement New feature or request test engine

Comments

@Grant-Archibald-MS
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

The process to create test cases for the CoE Starter Kit Setup and Upgrade process is a manual process. Make use if Generative AI prompts to make the process of suggesting test cases easier and generate starter Power Fx templates to make the process easier

Describe the solution you'd like

Use Record capability of Power Apps Test Engine https://grant-archibald-ms.github.io/powerfuldev-testing/context/transformative-power-of-ai to generate input

Test Authoring Process

Key elements:

  1. Transformation process that will transforms generated wav files into transcript txt files
  2. Transform the results of Dataverse Queries, Power Platform Connectors, Audio Transcript into context for CoPilot
  3. Copilot prompts that allow for the following:
    • High level test cases and steps
    • For each high level test case generate Power Fx test steps

Describe alternatives you've considered

No response

Additional context?

No response

@Grant-Archibald-MS Grant-Archibald-MS added coe-starter-kit CoE Starter Kit issues enhancement New feature or request labels Nov 23, 2024
@Grant-Archibald-MS
Copy link
Collaborator Author

Use the proposed features of [Feature]: Extend Record to include Variable and Collection Changes based on Clicks to enhance the ability to generate tests manually from the created recorded.te,yaml or via Copilot generation of test cases

@Grant-Archibald-MS
Copy link
Collaborator Author

The existing Power Apps Test Engine sample for CoE Kit Setup and Upagrde wizard could be useful as example of setting the state of power Apps Page using Set(configStep, 1); to set the stage

https://github.com/microsoft/PowerApps-TestEngine/blob/integration/samples/coe-kit-setup-wizard/testPlan.fx.yaml

Combine with

SimulateConnector
https://github.com/microsoft/PowerApps-TestEngine/blob/integration/docs/PowerFX/SimulateConnector.md
and
SimulateDataverse
https://github.com/microsoft/PowerApps-TestEngine/blob/integration/docs/PowerFX/SimulateDataverse.md

@Grant-Archibald-MS
Copy link
Collaborator Author

This test on SimulateConnector could also be useful https://github.com/microsoft/PowerApps-TestEngine/blob/integration/samples/connector/testPlan-simulated.fx.yaml to mock connector and dataverse for a specific stage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
coe-starter-kit CoE Starter Kit issues enhancement New feature or request test engine
Projects
Status: No status
Development

No branches or pull requests

2 participants