PL 400 : Test and Debug PCF components by using the local test harness(Create a Power Apps Component Framework (PCF) component)
Testing and debugging are the most important processes in app development and both the processes play an important role in the code component. Whereas testing reduces the difference between expectation and actual functionality and debugging helps in code improvement. Both processes provide information about the health status ,data structure of the app and allow easy interpretation. After the code component is implemented, npm start or npm start watch helps to build the code component and open the code harness in a new browser. In a test harness, changes are quickly reflected in the code component. When any of the following component property changes, it is automatically reflected in the test harness without restarting it. index.ts files imported modules in index.ts (excluding node modules) All of the resources tested in the controlManifest.Input.xml file Power Apps Component Testing Harness is a utility created by Microsoft to help you quickly deploy Power Apps components in a loc...