balena-io-modules / mahler

A automated task composer and HTN based planner for building autonomous system agents.
Apache License 2.0
7 stars 1 forks source link

Add test utility to run a task #64

Closed pipex closed 6 months ago

pipex commented 6 months ago

The runTask function in test utils receives a task, the current state and the task arguments and returns the result of running the task. If the task is a method, it will expand the method sequentially and run all the returned actions.

Change-type: minor

pipex commented 6 months ago

I self-certify!