flogo icon indicating copy to clipboard operation
flogo copied to clipboard

Ability to test flow from CLI

Open vijaynalawade opened this issue 7 years ago • 2 comments

I'm submitting a ... (check one with "x")

[] bug report => search github for a similar issue or PR before submitting
[x] feature request
[] support request
[] general question

Current behavior (how does the issue manifest): Like Web UI where developers can quickly test their flows, developers should be able automate their flow testing through CLI.

Expected behavior: ./<BINARY> --test -flow <FLOW_NAME> -input <FLOW_INPUT_PARAM_JSON> ./<BINARY> --test -flow <FLOW_NAME> -inputfile <FLOW_INPUT_PARAM_JSON_FILE> e.g. ./MyApp --test -flow MyFlow -input '{"p1": "test", "p2": 20}' ./MyApp --test -flow MyFlow -inputfile ~/test/myapp_myflow_input.json Minimal steps to reproduce the problem (not required if feature enhancement):

What is the motivation / use case for changing the behavior? Developer productivity and automation Please tell us about your environment (Operating system, docker version, browser & web ui version, etc):

Flogo version (CLI & contrib/lib. If unknown, leave empty or state unknown): 0.X.X 0.5.4 Additional information you deem important (e.g. issue happens only occasionally):

vijaynalawade avatar Jun 04 '18 22:06 vijaynalawade

@skothari-tibco this could make a nice cli plugin...

mellistibco avatar Nov 25 '19 17:11 mellistibco

Yes. Looks neat.

skothari-tibco avatar Nov 25 '19 17:11 skothari-tibco