The Library for Interface Testing (LIFT) supports writing unit tests for Java applications with graphical user interfaces (GUIs). Current frameworks for GUI testing provide the necessary tools, but are complicated and difficult to use for beginners, often requiring a significant amount of time to learn. LIFT takes the approach that unit testing GUIs should be no different than testing any other type of code. By providing a set of frequently used filters for identifying GUI components and a set of operations for acting on those components, LIFT lets programmers quickly and easily test their GUI applications.
LIFT is now included as part of the student library, so refer to that project for download information.
A. Allevato and S.H. Edwards. RoboLIFT: Engaging CS2 students with testable, automatically evaluated Android applications. In Proceedings of the 43rd ACM Technical Symposium on Computer Science Education (SIGCSE ’12), ACM, New York, NY, 2012, pp. 547-552.
Tags: RoboLIFTLIFTCS2testingAndroidcs educationdesignGUIJavaJUnitmobile developmentsmartphonetabletTDDtest-driven developmenttest-first codingWeb-CATSIGCSE
J. Snyder, S.H. Edwards, and M.A. Pérez-Quiñones. LIFT: taking GUI unit testing to new heights. In Proceedings of the 42nd ACM Technical Symposium on Computer Science Education (SIGCSE ’11), ACM, New York, NY, 2011, pp. 643–648.
Tags: LIFTGUIunit testingcs educationWeb-CATdesignSwingtestingJavaJava Task ForceJTFJUnitobjectdrawassignmentSIGCSE