- familiarization with the requirements for the device service backend
- test cases implementation (smoke, negative etc.)
- testing/test automation
- Check that
GET /devices
method call will return list of devices with its info - Check that
PATCH /devices
method call will change specified device parameter- duty1
- duty2
- freq1
- freq2
- Check that
PATCH /devices
method call with invalid/incorrect parameters will cause an exception- empty parameters
- empty values to edit
- unknown address
- invalid percentage value
- invalid percentage parameter type
- invalid frequencies value
- invalid frequencies parameter type
- Check that
GET /report
method call with valid report type for all known devices will return a report text- 100
- 200
- 300
- 400
- Check that
GET /report
method call with invalid/incorrect parameters will cause an exception- empty address
- empty repId
- unknown address
- invalid repId value
- invalid repId type
- Check that duties and frequencies data could be received via web socket:
/start_monitoring/{address}
- Check that proper data could not being received via web socket in invalid parameters specified
- unknown address
- invalid address type
docker-compose up --exit-code-from tests
-
Could not monitor Transmission device data (major).
- Steps to reproduce:
- Call
start_monitoring
method with129
address specified - Iterate over response to obtain device info
- Call
- Expected result: Device info present in response
- Actual result:
Not Found
in response
- Steps to reproduce:
-
Could not obtain report with type
400
for all kind of devices (major).- Steps to reproduce:
- Call
GET /report
withrepId
specified as400
- Call
- Expected result: Response status – 200 OK. Report content present in response
- Actual result: Response status – 404 Not Found.
Report is not exist
in response
- Steps to reproduce: