Devlog
Working hard on pytest tests.
I learn how assert works and how to name .
I never used or created test in any language so I think they aren’t perfect (not like they should),but they work😄.
I looked like AI made few and how other people and read some stuff online
Tests created for these endpoints
Around 25 of them
- List cars
- About car
- Engine info
- Engine start/stop
- Climate start/stop
- Windows
- Doors
- Lock/Unlock
- Reduced Guard Lock
- Flash, Honk, and Combination
- Tyres
- Statistics
- Fuel
- Odometer
- Engine diagnostics
- Brakes
- Command accessibility
Still to do
- Warnings and diagnostics
- Commands
More changes
The tests helped me find and clean up several issues:
- Documentation updates.
- The honk endpoint was
../hornbut should be/honk. - Some values (
odometer,fuel) areint, just like in the OpenAPI specification, not as described in the official docs. - Fixed spelling mistakes:
-oilleveltooilLevel
-coolantLevertocoolantLevel
Want to help and has access to volvo with active VOC
I need to test engine and climate endpoints but I don’t have an access to a car with it. Soooo if you can contact me on slack
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.