Font Size: a A A

Research On Energy-Directed Test Case Genaration Techniques

Posted on:2017-01-19Degree:MasterType:Thesis
Country:ChinaCandidate:P X YangFull Text:PDF
GTID:2348330503996023Subject:Engineering
Abstract/Summary:PDF Full Text Request
Battery life has become the bottleneck of the intelligent terminal experience. Mobile application of high energy consumption will lead to rapid drain of battery. However, the physical capacity of battery is limited by manufacturing technology, and its growth speed cannot keep up with the energy consumption trend of mobile applications. This imbalance makes the energy saving of mobile applications getting more and more attention. Much research has been devoted to the diagnosis technique for energy-inefficient phenomenon. But the work on discovery of energy issues is still very rare.To resolve the problem, this paper studies the discovery technology of energy-inefficient phenomenon of mobile applications and proposes energy-directed test case generation technique. First, we analyze the GUI of Android application under test and extract event-energy flow graph(EEFG). Then the initial test suite is generated to collect energy consumption data of each event. We analyze the event energy data, find out energy-inefficient operation and generate fast energy-consumption test cases according to the EEFG. Each energy-enhanced test case includes a sequence of user interactions which can lead to high energy consumption in short time. With these test cases, the energy bug can be detected earlier and fixed as soon as possible.Experimental evaluation shows that our framework can generate fast energy-consumption tests in minimized time. The approach is expected to help user find energy-inefficiencies in Android application development and testing process.
Keywords/Search Tags:Test Generation, Energy Consumption, Android Applications, Event-Energy Flow Graph
PDF Full Text Request
Related items