Hi pratham,
Follow these steps to create /updata or validate your flow
1.Validate inputs (check if they meet your business logic)
2. Create/Update data in the database
3. Commit changes to the database
Hi Pratham,
1. Have you see the Unit testing module Howto? That one briefly explains how to use the Assert and ReportStep actions from the Unit testing module in your unit testing microflow (see also the attached screenshot for the Assert & ReportStep actions you can use.
https://docs.mendix.com/refguide/testing-microflows-with-unit-testing-module/
2. The current version of the unit test module does not have a coverage report available.
3. Any microflow name starting with the prefix TEST_ or UT_ will be run as a unit test. So if you have a microflow called 'DoSomeCalculation', you could create a unit test microflow next to it called UT_DoSomeCalculation. This unit test microflow then could have some preparation activities to set up relevant data, and then call the 'DoSomeCalculation' microflow. The results from this call then can be used in the Assert activities to validate the outcomes against the expected outcome.