Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some assertions need splitting up into multiple assertions #394

Open
benfrancis opened this issue Apr 27, 2023 · 0 comments
Open

Some assertions need splitting up into multiple assertions #394

benfrancis opened this issue Apr 27, 2023 · 0 comments

Comments

@benfrancis
Copy link
Member

benfrancis commented Apr 27, 2023

Currently the assertion with the id http-basic-profile-protocol-binding-invokeaction-15 gets exported by the testing tooling as:

The status of an asynchronous action invocation request is represented by an ActionStatus object which includes the following members: Member Description Assignment Type status The status of the action request. mandatory string (one of pending, running, completed or failed) output The output data, if any, of a completed action which MUST conform with the output data schema of the corresponding ActionAffordance. optional any type error An error message, if any, associated with a failed action which MUST use the JSON serialization of the Problem Details format [[RFC7807]] (only needed in response to a queryaction operation). optional object href The [[URL]] of an ActionStatus resource which can be used by queryaction and cancelaction operations, the URI scheme [[RFC3986]] of which MUST resolve to http or https (only needed for an Asynchronous Action Response). optional string timeRequested A timestamp indicating the time at which the Thing received the request to execute the action. (See Date Format for date format constraints). optional string timeEnded A timestamp indicating the time at which the Thing successfully completed executing the action, or failed to execute the action. (See Date Format for date format constraints). optional string

This is a very long paragraph which contains multiple assertions and somehow needs to be split into separate assertions.

See also: #348

Edit: Same for http-basic-profile-protocol-binding-invokeaction-21 which contains two assertions.

@benfrancis benfrancis changed the title Assertion http-basic-profile-protocol-binding-invokeaction-15 needs splitting up Some assertions need splitting up into multiple assertions Apr 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants