Let's take a closer look at the design and setup of a new automation infrastructure for DT Exchange SDK tests and discover how hosting automation environments locally can simplify system maintenance and enhance testing.
Managing and maintaining a robust testing environment for the DT Exchange SDK process challenges, especially when it comes to ensuring comprehensive coverage across different platforms and aspects like UI rendering, networking, and reporting that better impacts the efficiency and reliability of the SDK.
The DT Exchange SDK requires rigorous testing across various parameters, including UI rendering on mobile devices, networking functionalities, and generating comprehensive reports. Manual testing methods often fall short in providing the required coverage and efficiency. Thus, the need for a well-designed automation infrastructure arises.
The new solution involves setting up a locally hosted automation environment based on Appium Server, GitLab Pipelines, and reporting tools. This infrastructure enables seamless testing across Android and iOS platforms, covering UI rendering, networking, and reporting requirements. Continuous Integration (CI) practices are employed to ensure timely and thorough testing.
The automation setup comprises key components including mobile devices running on both Android and iOS, Appium Server 2.0+, Java JDK & JRE, JUnit4, GitLab, sniffer tools, cloud storage, and Slack notification integration. A detailed GitLab pipeline workflow is illustrated on the diagram highlighting the sequence of processes from SDK development to test execution and report generation.
The GitLab pipeline involves four steps:
Maintaining active Appium Server and GitLab jobs processes 24/7 requires bash scripts for monitoring and reconnecting in case of disconnections. Additionally, ensuring optimal performance and resource utilization while avoiding interruptions during test runs requires careful management.
The implementation of the local automation infrastructure has led to significant improvements in testing efficiency, coverage, and reliability for the DT Exchange SDK. Slack notifications provide instant updates on test results, while reporting tools offer detailed insights into test outcomes, aiding in identifying and resolving issues promptly.
By leveraging a locally hosted automation infrastructure, the DT Exchange SDK testing process has been streamlined, ensuring comprehensive coverage across Android and iOS platforms. This approach not only enhances the quality and reliability of the SDK but also contributes to improved UI, UX, and overall user satisfaction.