Closed martijnraats closed 3 years ago
Hi @martijnraats! My team at Mendix R&D recently added this module to our list of responsibilities. We do not have the time to put extensive work into it right now, but feel free to open a pull request for this issue if you are still interested in having it.
We would like to be able to know if a microflow is called from the unittest runner. We had several occasions where this prevented us from making a unit test.
An example: We wanted to test a microflow which included a check on roles. Since the unit test runner does not contain a $currentUser we were not able to mock roles for it. If we had a rule for 'is unit test running' then we could change the microflow so that it does not check for roles if the source is a unit test.