thygesteffensen / PowerAutomateMockUp

Skeleton to run Power Automate Flows from their JSON descriptions.
MIT License
8 stars 1 forks source link

Improve unit testing #43

Open thygesteffensen opened 3 years ago

thygesteffensen commented 3 years ago

Make it easier to assert with actions that have been called and what their input parameters (parsed) were. Think about configuring this after/before building the service provider.

Idea: Log each action triggers and log the inputs. This should be returned from the Trigger() function, making it easy to assert if an action has been called and assert the input.

Thus separating action executors and asserts.

thygesteffensen commented 3 years ago

Maybe we will need the output too? No harm in adding it.

And make this configurable, to save memory and make it efficient?