add examples attributes #21

Closed
opened 2024-07-03 11:20:34 +02:00 by gnunux · 0 comments
Contributor

Today we have an attribut "tests" for variable:

---
version: 1.1
var:
  tests:
    - val1
    - val2

This attribut is used for test engine to inject differents values.

I use this attribute to generate examples in documentation.
In addition to the "tests" attribute, we should have an "examples" attributes:

---
version: 1.1
var:
  examples:
    - val1
    - val2
Today we have an attribut "tests" for variable: ``` --- version: 1.1 var: tests: - val1 - val2 ``` This attribut is used for test engine to inject differents values. I use this attribute to generate examples in documentation. In addition to the "tests" attribute, we should have an "examples" attributes: ``` --- version: 1.1 var: examples: - val1 - val2 ```
gremond was assigned by egarette 2024-07-12 08:21:16 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: stove/rougail#21
No description provided.