Is your feature request related to a problem? Please describe.
When writing core test cases for jaseci actions convention assumes that walkers test static input cases. e.g
walker test_bi_enc_infer{
can bi_enc.infer;
report bi_enc.infer(["Share my location with Hillary's sister"],["searchplace","getplacedetails","bookrestaurant","gettrafficinformation","compareplaces","sharecurrentlocation","requestride","getdirections","shareeta","getweather"],"text","text");
}
However, test cases can run on dynamic input sources that need to be managed within Python and need a seamless way of passing this in the @jac_testcase decorator
walker test_bi_enc_infer{
has data;
can bi_enc.infer;
report bi_enc.infer(data);
}
Describe alternatives you've considered
An alternative is loading & handling the data in JAC or writing several test walkers.
If this feature request is accepted, would you be willing to work on a PR?
Yes. I suspect a simple mod to test_core.py would solve this but its unclear how parameters are passed to JsOrc.master()
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe. When writing core test cases for jaseci actions convention assumes that walkers test static input cases. e.g
However, test cases can run on dynamic input sources that need to be managed within Python and need a seamless way of passing this in the
@jac_testcase
decoratorDescribe the solution you'd like
Describe alternatives you've considered An alternative is loading & handling the data in JAC or writing several test walkers.
If this feature request is accepted, would you be willing to work on a PR? Yes. I suspect a simple mod to test_core.py would solve this but its unclear how parameters are passed to
JsOrc.master()
Additional context Add any other context or screenshots about the feature request here.