Skip to content

Commit

Permalink
Add id and experimental flag to test files
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Oct 30, 2023
1 parent cd94ff3 commit 9637cba
Show file tree
Hide file tree
Showing 121 changed files with 141 additions and 1 deletion.
12 changes: 11 additions & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,19 @@ The test files have the following schema:
```yaml
description: A document with test cases for a specific openEO process
type: object
required:
required:
- id
- experimental
- tests
properties:
id:
type: string
description: The identifier for the process.
pattern: '^\w+$'
experimental:
type: boolean
description: Declares that the process is experimental, tests may fail.
default: false
tests:
description: A list of test cases without a specific order
type: array
Expand Down
1 change: 1 addition & 0 deletions tests/absolute.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "absolute",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/add.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "add",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/add_dimension.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "add_dimension",
"tests": []
}
1 change: 1 addition & 0 deletions tests/aggregate_spatial.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "aggregate_spatial",
"tests": []
}
1 change: 1 addition & 0 deletions tests/aggregate_temporal.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "aggregate_temporal",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/aggregate_temporal_period.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "aggregate_temporal_period",
"tests": []
}
1 change: 1 addition & 0 deletions tests/all.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "all",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/and.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "and",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/anomaly.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "anomaly",
"tests": []
}
1 change: 1 addition & 0 deletions tests/any.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "any",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/apply.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "apply",
"tests": []
}
1 change: 1 addition & 0 deletions tests/apply_dimension.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "apply_dimension",
"tests": []
}
1 change: 1 addition & 0 deletions tests/apply_kernel.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "apply_kernel",
"tests": []
}
1 change: 1 addition & 0 deletions tests/apply_neighborhood.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "apply_neighborhood",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/arccos.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "arccos",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/arcosh.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "arcosh",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/arcsin.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "arcsin",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/arctan.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "arctan",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/arctan2.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "arctan2",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/array_append.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "array_append",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/array_apply.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "array_apply",
"tests": []
}
1 change: 1 addition & 0 deletions tests/array_concat.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "array_concat",
"tests": [
{
// Adds an empty array
Expand Down
1 change: 1 addition & 0 deletions tests/array_contains.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "array_contains",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/array_create.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "array_create",
"tests": [
{
"arguments": {},
Expand Down
1 change: 1 addition & 0 deletions tests/array_element.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "array_element",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/array_filter.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "array_filter",
"tests": []
}
1 change: 1 addition & 0 deletions tests/array_find.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "array_find",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/array_interpolate_linear.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "array_interpolate_linear",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/array_labels.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "array_labels",
"tests": [
{
"arguments": {
Expand Down
2 changes: 2 additions & 0 deletions tests/array_modify.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"id": "array_modify",
"experimental": true,
"tests": [
{
// Replace a single value in the array.
Expand Down
1 change: 1 addition & 0 deletions tests/arsinh.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "arsinh",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/artanh.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "artanh",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/between.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "between",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/ceil.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "ceil",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/climatological_normal.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "climatological_normal",
"tests": []
}
1 change: 1 addition & 0 deletions tests/clip.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "clip",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/constant.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "constant",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/cos.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "cos",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/cosh.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "cosh",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/count.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "count",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/create_data_cube.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "create_data_cube",
"tests": []
}
2 changes: 2 additions & 0 deletions tests/cummax.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"id": "cummax",
"experimental": true,
"tests": [
{
"arguments": {
Expand Down
2 changes: 2 additions & 0 deletions tests/cummin.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"id": "cummin",
"experimental": true,
"tests": [
{
"arguments": {
Expand Down
2 changes: 2 additions & 0 deletions tests/cumproduct.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"id": "cumproduct",
"experimental": true,
"tests": [
{
"arguments": {
Expand Down
2 changes: 2 additions & 0 deletions tests/cumsum.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"id": "cumsum",
"experimental": true,
"tests": [
{
"arguments": {
Expand Down
2 changes: 2 additions & 0 deletions tests/date_between.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"id": "date_between",
"experimental": true,
"tests": [
{
"arguments": {
Expand Down
2 changes: 2 additions & 0 deletions tests/date_difference.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"id": "date_difference",
"experimental": true,
"tests": [
{
"arguments": {
Expand Down
2 changes: 2 additions & 0 deletions tests/date_shift.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"id": "date_shift",
"experimental": true,
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/dimension_labels.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "dimension_labels",
"tests": []
}
1 change: 1 addition & 0 deletions tests/divide.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "divide",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/drop_dimension.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "drop_dimension",
"tests": []
}
1 change: 1 addition & 0 deletions tests/e.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "e",
"tests": [
{
"arguments": {},
Expand Down
1 change: 1 addition & 0 deletions tests/eq.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "eq",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/exp.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "exp",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/extrema.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "extrema",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/filter_bands.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "filter_bands",
"tests": []
}
1 change: 1 addition & 0 deletions tests/filter_bbox.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "filter_bbox",
"tests": []
}
1 change: 1 addition & 0 deletions tests/filter_spatial.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "filter_spatial",
"tests": []
}
1 change: 1 addition & 0 deletions tests/filter_temporal.json5
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"id": "filter_temporal",
"tests": []
}
1 change: 1 addition & 0 deletions tests/first.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "first",
"tests": [
{
"arguments": {
Expand Down
1 change: 1 addition & 0 deletions tests/floor.json5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"id": "floor",
"tests": [
{
"arguments": {
Expand Down
Loading

0 comments on commit 9637cba

Please sign in to comment.