tum-esi / testbench Goto Github PK
View Code? Open in Web Editor NEWThing Description based testing framework based on eclipse-thingweb/node-wot
License: MIT License
Thing Description based testing framework based on eclipse-thingweb/node-wot
License: MIT License
If the counter.js script is tested, there is no request or response schema generated. Since this is one of the first things people can run as a servient, it should work
Travis cannot be used anymore and we are using gh actions everywhere. We should transition there.
Coming from #48 (comment)
We should use td types for more typeful ts code.
Currently, only HTTP, CoAP, MQTT and File are added but we should simply add everything in nodewot.
The readme should mention what cannot be tested at the moment. Some examples:
Currently, all possible bindings are added to the servient but they should depend on the TuT TD. A separate client-side servient should be generated in the initiate step and deleted after the test.
The feature to remove protocol clients have been implemented in node-wot. Once it is released to npm, we should bring it here.
Currently, even with #41, we are not on the latest node-wot.
In places like
Line 473 in f60fc48
The table under the header Example Usage
and then Quick Method with Default Configuration, 2.i
has a row with key url
and the corresponding value starts with ttp://
whereas it should be http://
.
@egekorkan
node-wot needs to be configured like in this issue to be able to use security keys. If this is not implemented, at least the test-bench should stop and display a message.
wot-servient.conf.json is missing which obliges node-wot to use the default configuration, which uses port 8080. A conf like this is required:
{ "servient": { "scriptDir": ".", "scriptAction": false },
"http": { "port": 8081, "selfSigned": false } }
there is no input data in the action so there should be no need for an empty body right? Maybe need to check the protocol bindings and comment back on the issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.