citrusframework / citrusframework/citrus

Json/Yaml schema for the Yaml test cases?

Open
#1,119 1 comment 0 reactions 1 assignee Claimed by @christophd View on GitHub
prio-high question to-discuss
Dominant language
Java
Stars
485
Forks
155
Avg merge
2d 10h
Merged PRs (30d)
7

Description

Hi,

I've started looking into how the Yaml DSL is implemented, and how Citrus Yaml test resources are loaded and parsed, so that I could create Json/Yaml schema for it.

I have the following questions:
- Do you have any schema for the Yaml DSL so far? (I looked but haven't found anything.)
- Based on the Citrus code base this is what I see, and I'd like to know if this is correct:
- `org.citrusframework.yaml.YamlTestLoader#doLoad` parses a Yaml file and loads it into a `YamlTestCase`, so that `YamlTestCase` is essentially the top-level model object for the yaml TC configuration.
- From this point downward in the hierarchy, e.g. `org.citrusframework.TestCaseMetaInfo.Status`, `org.citrusframework.yaml.YamlTestCase.Variable`, ˛`org.citrusframework.yaml.TestActions` and others act as further yaml TC model objects.
- How does `YamlTemplateLoader` and `org.citrusframework.yaml.container.Template` fit into this picture? What are their purposes?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.