MUMBAI, India, April 10 -- Intellectual Property India has published a patent application (202421076391 A) filed by Tata Consultancy Services Limited, Maharashtra, on Oct. 8, 2024, for 'method and system for an optimized test coverage using generative artificial intelligence.'

Inventor(s) include Chatterjee, Nachiketa; Hossain, Sahadat; and Sanyal, Soumya.

The application for the patent was published on April 10, under issue no. 15/2026.

According to the abstract released by the Intellectual Property India: "Unit testing is a fundamental practice in software development, providing numerous benefits such as early bug detection, code quality improvement, and facilitating safe refactoring. Despite its advantages, the manual creation of unit tests can be labor-intensive and prone to human error, often leading to insufficient test coverage and increased technical debt. Embodiments herein provide a method and system for an optimized coverage of a unit test for a software development using generative artificial intelligence (GenAI). The disclosure introduces a unit test script generator leveraging GenAI and chain of thoughts, with cyclic verification supported by a predefined test coverage tool. This approach can create comprehensive tests that cover a wide range of scenarios, including edge cases that may be missed by human developers. The GenAI-driven tools can continuously learn from new code bases, improving their ability to generate relevant and effective tests."

Disclaimer: Curated by HT Syndication.