Seminars & Colloquia

Darko Marinov

Department of Computer Science, University of Illinois at Urbana-Champaign

"Automated Testing of Refactoring Engines Using Test Abstractions "

Thursday July 17, 2008 02:00 PM
Location: 3211, EBII NCSU Centennial Campus
(Visitor parking instructions)

 

Abstract: The standard approach to generating test suites, manual generation of the test inputs in the suite, is tedious and error-prone, especially for code that takes complex test inputs. This talk presents our approach that automates generation of test suites using test abstractions. Conceptually, test abstractions provide a high-level description of desired test suites; developers do not need to manually write large suites of individual tests but instead write test abstractions from which tools automatically generate individual tests. This approach has helped developers in both academia and industry to discover errors in several real applications.

This talk illustrates the approach on testing refactoring engines using imperative test abstractions. Refactorings are behavior-preserving program transformations that improve program design, and refactoring engines are tools that automate the application of refactorings. Refactoring engines are a key component of modern IDEs such as Eclipse or NetBeans, two popular open-source IDEs for Java. A bug in a refactoring engine can have severe consequences as it can erroneously change large bodies of source code. Test inputs for refactoring engines are programs, and the core of our testing of refactoring engines is a framework for generation of abstract syntax trees that represent Java programs. Using this framework, we discovered 21 new bugs in Eclipse and 24 in NetBeans.

Short Bio: Darko Marinov is an Assistant Professor in the Department of Computer Science at the University of Illinois at Urbana-Champaign. He obtained his Ph.D. from MIT in 2005. His main research interests are in Software Engineering, with focus on improving software reliability using software testing and model checking. His work is supported by NSF and Microsoft. Home page: http://www-faculty.cs.uiuc.edu/~marinov

Host: Tao Xie, Computer Science

Media Files:
No media files available at this time

Video Presentation: Host is responsible for requesting video recording by filling out this Web form. For other technical issues, contact us at csc_help@ncsu.edu.
No streaming video available at this time

Back to Seminar Listings
Back to Colloquia Home Page