Open egekorkan opened 3 years ago
Coming from https://github.com/w3c/wot-testing/issues/189
Once a Thing is tested via its TD where multiple requests are sent to the Thing, it would be nice to incorporate this information to TD, similar to the badges that repositories have. The question is how to do that. Below is an initial thought:
{ "@context": "https://www.w3.org/2019/wot/td/v1", "title": "My Thing", "id": "urn:dev:ops:32473-WoTLamp-1234", "links": [{ "href": "https://app.codecov.io/wot/urn:dev:ops:32473-WoTLamp-1234", "rel": "report", "testResult": { "testSuite": "https://github.com/tum-esi/testbench", "totalTests": 120, "passedTests": 100 } }] }
What is definitely needed:
href
totalTests
passedTests
testSuite
Since it would be a new feature, postponing to 2.0
Coming from https://github.com/w3c/wot-testing/issues/189
Once a Thing is tested via its TD where multiple requests are sent to the Thing, it would be nice to incorporate this information to TD, similar to the badges that repositories have. The question is how to do that. Below is an initial thought:
What is definitely needed:
href
in this case What would be nice to have:totalTests
andpassedTests
here.testSuite
here.