You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something I have observed whilst writing implementation reports is that in the WoT Profiles specification we tend to write assertions from either the perspective of a Thing or a Consumer, but not always both.
There are a lot of assertions in WoT Profiles which describe a contract between a Thing and a Consumer but the assertions only capture one half of that contract. For example, we may specify that a particular response should be sent by a Thing, but not specify how a Consumer should interpret that response.
The result of this is that when testing an implementation of a Thing or a Consumer the assertions may only mention one role, yet implementation is needed on both sides.
Something to think about for the second version of the Profile specification might be to more explicitly specify the separate Thing and Consumer roles for each operation, in order to capture both sides of a contract.
The text was updated successfully, but these errors were encountered:
Something I have observed whilst writing implementation reports is that in the WoT Profiles specification we tend to write assertions from either the perspective of a Thing or a Consumer, but not always both.
There are a lot of assertions in WoT Profiles which describe a contract between a Thing and a Consumer but the assertions only capture one half of that contract. For example, we may specify that a particular response should be sent by a Thing, but not specify how a Consumer should interpret that response.
The result of this is that when testing an implementation of a Thing or a Consumer the assertions may only mention one role, yet implementation is needed on both sides.
Something to think about for the second version of the Profile specification might be to more explicitly specify the separate Thing and Consumer roles for each operation, in order to capture both sides of a contract.
The text was updated successfully, but these errors were encountered: