eclipse-thingweb / eclipse-thingweb/td-tools

Set of TDs as Test Suite

Open
#30 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6
Forks
11
Avg merge
1d 15h
Merged PRs (30d)
4

Description

With multiple tools present, it would be good to have a list of TDs and TMs that each tool (here or outside) can check whether they can "understand" it. Otherwise, each test directory of the tools will have overlapping TDs and TMs. Some ideas:

- JSON Schema test suite has a set of tests per draft version per feature: https://github.com/json-schema-org/JSON-Schema-Test-Suite/blob/main/tests/draft7/additionalProperties.json . We can have TD 1.0 examples for each feature and another set of 1.1 examples that only have new features. Each TD would test a feature
- Reuse examples from playground: https://github.com/eclipse-thingweb/playground/tree/master/packages/core/examples

We do not have a single definition of test: E.g. being able to insert defaults, validate, being able to convert to OpenAPI, AsyncAPI, AID, being able to send a request. Any ideas would be nice :)

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.