Automating test driven development with converters

A test-driven development system utilizes an attention neural transducer model to generate a method body of a focus method given associated test cases of the focus method and optionally a method signature and document string of the focus method. And verifying syntactic correctness of the candidate m...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: SWIATKOWSKI ANDREW, TUFANO, MICHAEL, CLEMENT CHRISTOPHER B, DENG, SEN, K, SUNDARESAN NARAYANAN
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A test-driven development system utilizes an attention neural transducer model to generate a method body of a focus method given associated test cases of the focus method and optionally a method signature and document string of the focus method. And verifying syntactic correctness of the candidate method body, testing the candidate method body by using a given test case, and testing the candidate method body by using a donor class in the target system. Those candidate methodologies that pass verification and testing are then ranked based on PLUM scores that analyze the candidate methodologies against various quality and performance metrics. 一种测试驱动的开发系统利用一种带注意力的神经变换器模型,用以在给定焦点方法的关联测试用例以及可选的焦点方法的方法签名和文档串的情况下生成焦点方法的方法体。验证候选方法体的句法正确性,使用给定的测试用例测试候选方法体,并且利用目标系统中的施主类测试候选方法体。然后,基于PLUM得分对那些通过验证和测试的候选方法体进行排序,PLUM得分对照各种质量指标和性能指标来分析候选方法体。