Implement bdd tests in cucumber
Closed
Implement bdd tests in cucumber
Coverage
Adapter
- auth - Token grant valid/invalid credentials
- publish - Send
- poll - Receive
- broadcast - Notify
- validate
- tokenValid
- getAuthorizationHeader
Protocol
- getType
- validate
- decode
- encode
Others
- Mock schema validate - If the mock schema isn't valid then the tests are inaccurate
changed milestone to %SoAR-2023W01
added Partner::NOC Status::Sprint Backlog Weight::3 labels
created merge request !2 (merged) to address this issue
mentioned in merge request !2 (merged)
added Status::In Progress label and removed Status::Sprint Backlog label
In testing the message validation I found some issues. For some reason I can't make oneOf work against a top-level schema.
To make it work I've now got a Message containing Metadata and Payload where Payload implements the oneOf for the actual content message type. The routing instructions for the backbone are in the metadata so I think this makes sense conceptually but it is a significant change from what we've got in the message-formats.
removed Status::In Progress label
added Status::In Review label