I'm looking to implement end-to-end testing of our Power Platform solution (including Dataverse and Model Driven Power Apps). When the tests start at a minimum I want to delete all the records from the database so that I have a clean slate for running tests against. Ideally I would also pre-populate with fixed data to support the test cases being run.
Are there good / quick ways of doing either of these operations?
- For resetting the environment I could e.g. create a new sandbox environment each time the pipeline runs but that seems a bit slow / heavyweight?
- Are then any good frameworks for injecting pre-configured data into dataverse?
And on a related note, what's the quickest way to install a solution in an environment? When I import the latest version of our solution into our production env it takes about 20 minutes which obviously isn't ideal for a test pipeline...
WarrenBelz
87
Most Valuable Professional
mmbr1606
71
Super User 2025 Season 1
Michael E. Gernaey
65
Super User 2025 Season 1