Resolve "Implement bdd tests in cucumber"
All threads resolved
dist
adapter.esm.js +4 -1
adapter.js +4 -1
protocol.esm.js +7 -1
protocol.js +7 -1
features
adapter
auth.js +10 -2
poll.js +1 -2
validate.js +26 -0
schema
validate.js +23 -0
adapter_validates.feature +16 -0
schema_validates.feature +10 -0
src
adapter
index.js +4 -1
protocol
index.js +7 -1
test
fixtures
config-invalid.json +0 -0
config-valid.json +0 -0
message-vehicle-status-invalid.json +20 -0
message-vehicle-status.json +13 -11
server.js +1 -1
mock
messages
Message_VehicleMission.json +2 -2
Message_VehicleMissionActions.json +4 -4
Message_VehicleStatus.json +2 -2
swagger.json +230 -216
package.json +1 -0
yarn.lock +43 -1
- Dan Jones authored
Add test to check that the mock schema is valid If the mock schema is not valid then invalid messages can be marked as valid which makes the tests ineffective
+ 4
- 1
+ 4
- 1
+ 7
- 1
+ 7
- 1
+ 26
- 0
\ No newline at end of file
+ 23
- 0
\ No newline at end of file
+ 16
- 0
\ No newline at end of file
+ 10
- 0
\ No newline at end of file
+ 4
- 1
+ 7
- 1
File renamed with no changes. Show file contents
File renamed with no changes. Show file contents
\ No newline at end of file
\ No newline at end of file
+ 1
- 1
+ 230
- 216
+ 1
- 0
+ 43
- 1