Automotive Testing Automation Mera Experience
About ME Андрей Лаврентьев Testing Automation Tech Expert at MERA 13+ years IT experience 8 years in MERA About ME
About Project Features: Audio / Video Navigation Satellite Radio Rear & Front Camera View Mobile Integration (Android, iOS) Sensors And Car Equipment Communication via CAN About Project
Project Goals End-To-End Test Automation Approach Testing Framework Development Infrastructure Solution For Test Automation Integration Into Existing Organization Process And Continuous Integration Project Goals
Solution: HU Controller MiniPC attached to HU allows: Controlling HU Controlling auxiliary hardware Exposing HU to network Auxiliary services Solution: HU Controller
Solution: Power Supply Programmable and controllable Power Supply: Allows setting a specific voltage for consumer Providing set voltage value via interface Solution: Power Supply
Solution: Audio Attenuation circuit Converting analog signal into digital via Sound Card (ADC) Capturing audio signal on MiniPC Solution: Audio
Solution: USB Devices Management Programmatically controllable smart USB Switch allows: Enabling / disabling ports Solution: USB Devices Management
Solution: Bluetooth AND CALLS Controlling Android via adb iOS via MacMini and Xcode Solution: Bluetooth AND CALLS
Solution: DIRECT HU interaction Touch screen events emulation Screenshot capturing Solution: DIRECT HU interaction
Automated Testing Framework Features: 2 levels: Top level: Robot Framework Low level: Python Plain English keywords to interact with HU, USB, Mobile, Camera, etc. Custom plain English asserts Automated Testing Framework
Automated Testing Framework Test Sample: Turn HU On Insert USB Stick Assert Audio Is Playing Remove USB Stick Turn HU Off Automated Testing Framework
Automated Testing Framework
Automated Testing Framework: Libraries CAN Bluetooth USB Audio HU Camera Logging Video Android Asserts iOS Power Supply Automated Testing Framework: Libraries
Testing Infrastructure: Goals Remote lab (like Cloud Service) Capabilities Tests scheduling Parallelizing test execution Remote HU control Testing Infrastructure: Goals
Testing Infrastructure: Solution Client/Node/Server (similar to Jenkins) Queue Messaging (ZeroMQ) Configuration Management (Ansible) Testing Infrastructure: Solution
Testing Infrastructure: Solution
Continuous Integration Nightly Builds Reporting to Stakeholders Multi-Staged Test Suites Installation / Upgrade Smoke/Sanity Tests Functional Tests Continuous Integration
Questions & Answers Thank you for the attention THE END