The client is a leading multinational networking company with more than 80,000 employees.
The Challenge
A leading global networking and technology company made a strategic decision to migrate its existing product test cases from the Ruby programming language to Python based on a standardized testing framework. They needed a partner to optimize the test cases and re-write the libraries, using ones available in the standardized Python framework. The overall goal was to unify the test cases to match company standards while improving coverage and test case value; this required engineers with working knowledge of both Ruby and Python.
The Solution
Persistent developed a Generative AI-based solution on the Microsoft Azure cloud to migrate business logic from Ruby to Python while maintaining the correct and optimum usage of the standardized testing framework. The solution leveraged OpenAI 3.5-Turbo and a range of customized prompts, but human oversight by trained test automation professionals was also key to the process, ensuring that we optimized all test cases while migrating to the new framework.
The Persistent team also engineered specialized workflows for developers, with split screens preloaded with Ruby and migrated Python code, plus documentation, “diff view,” and other information, for assistance during the migrations. Additionally, we developed Configuration files and GitHub connectors to read, replicate, and push the intended directory structure.
The Outcome
The cloud-based GenAI solution delivered greater accuracy and speed with significant cost savings. On metrics, Gen-AI yielded 95% accurate business logic conversion from Ruby to Python at 1.5x the “usual” speed and at 40% lower cost than manual migration.
Bottom line: from “Day 0” of the migration, the client experienced reduced knowledge dependency on Ruby, Python and standardized testing frameworks, and benefitted from a faster go-to-market capability.
Technology Used
- MS Azure OpenAI 3.5-Turbo
- Customized prompt engineering
- Monaco VS code editor
- ReactJS