Learning Playground

Welcome to the learning playground a space to try interactive concepts related to Power Fx and testing. You can use the steps of each playground task to explore different key concepts.

Once have completed each set of learning playground concepts have a look at related learning playground tasks to build your knowledge.

Assert() Function with Simulated Dataverse

Learn how to use the Assert() function with a simulated dataverse in your test.

Results

Playground Steps

You can try the following to experiment with this playground task:

  • Press "Try It!" to verify that an empty table is returned
  • Select Reset then add only accounts to see the orginal value of account
  • Select Reset then change the last link to Assert(CountRows(accounts)=1); to see the test return error
  • Select Reset then change the text to be onlt Assert(First(accounts).Name="Test") to see that the first value in the collection is Test
  • Try Learn Module: Simulated Dataverse