A YAML schema is bound to Citrus YAML test case files, which automatically provides validation and code completion.
Different schema files are provided based on the version of Citrus used in each module of a project. At the moment, there is one for versions up to 3.4.0 and one for 4.0.0 and up. Alpha, beta, etc. releases are not supported.
When the Citrus version used by a project module changes, the schema used for a given file is updated automatically according to that new version. Also, in case no Citrus version is found for a module, a default schema (Citrus 4.x) is assigned to the corresponding files.
- The 4.x schema contains schemas for test actions that are outside citrus-base, e.g.
selenium, etc., while the 3.x schema doesn’t contain those.
- Descriptions and potential restrictions for property values will be added in subsequent releases.
- The validation and auto-completion features are not implemented in this plugin, but in the IntelliJ platform itself.
It simply provides the configuration for the IntelliJ platform, so that it knows what conditions must a file meet to assign a certain schema file to it.