Skip to content

A command for simplifying node testing #1019

@XiaoKuge

Description

@XiaoKuge

When we build a new dora node, the natural step is to test whether it's working or not. To test the node, right now, we will need to:

  1. create a dataflow which include a terminal-input node and the newly created node.
  2. open two terminals, one to run the dataflow and the other for terminal-input to check the input and output of the dataflow.

We wonder that if this can be simplified by having some command like: dora run-node [nodename] or something like that. Input needed by the node could be given through a json file, output can be printed directly on the screen or to some output files.

In this way, we don't have to create dataflow YML; also, we don't have to have two terminals up for testing.

We believe that it will help significantly productivity, especially when developers want to try out many different nodes.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions