-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Elevator Pitch
Allow loading tasks from .robot files.
Motivation
Robot Framework is a human-readable (if quirky) text format written in Python, often used for defining acceptance tests with a large library and tooling ecosystem. It also provides a Task-driven syntax, which is close to supporting the doit task model.
Design Ideas
- writing
- use "free metadata" and tags for doitoml configuration
- parsing
- use the native data model for parsing
- running
- for each task, generate a
robot.maininvocation that matches just the test of interest- inject the whole
to_dictback in for task execution
- inject the whole
- for each task, generate a
- reporting
- offer a place to put output data
# my_tasks.robot
*** Settings ***
Library Operating System # reuse robot things
Library dodo # load a dodo.py as a module
Metadata
... doitoml:prefix robot # configure doitoml
doitoml:paths:input input.html # define variables
doitoml:paths:output output.html # can't be lists :_(
*** Tasks *** # also support templates?
Copy the HTML
[Documentation] Hoist this to `doc`
[Tags] doitoml::file_dep::input doitoml::targets::output
Copy File @{::input} @{::output} # supports lists as variables
Do Another Thing @{::input}
*** Keywords ***
Do Another Thing # create keywords
[Arguments] ${value}
Log ${value}
Log ${::another-ns::thing}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request