ACRE: An Automated Aspect Creator for Testing C++ Applications. Duclos, E., Gu�h�neuc, Y., & Le Digabel, S. Technical Report G-2012-19, Les cahiers du GERAD, June, 2012. 17 pages.
ACRE: An Automated Aspect Creator for Testing C++ Applications [link]Paper  abstract   bibtex   
We present ACRE, an Automatic aspeCt cREator, to use aspect-oriented programming to test multiplatform software programs written in C++. ACRE allows developers without knowledge of aspect programming to use aspects for testing purposes and to test their programs without modifying their source code. ACRE uses a nonintrusive domain-specific language (DSL) which statements testers insert into the source code to describe the aspect to be used. The presence of DSL statements in the code does not modify the program's compilation and behavior. ACRE parses the DSL and automatically generates appropriate aspects that are then woven into the source code to identify bugs such as memory leaks or incorrect implementation. Testers can also add or remove tests easily. Using an aspect generated by ACRE, we find a memory leak in a complex multi-platform C++ software program, NOMAD, used in both industry and research.
@TECHREPORT{Duclos12-TR-ACRE,
   AUTHOR       = {Etienne Duclos and Yann-Ga�l Gu�h�neuc and 
      Le Digabel, S�bastien},
   INSTITUTION  = {Les cahiers du GERAD},
   TITLE        = {ACRE: An Automated Aspect Creator for Testing C++ 
      Applications},
   YEAR         = {2012},
   OPTADDRESS   = {},
   MONTH        = {June},
   NOTE         = {17 pages.},
   NUMBER       = {G-2012-19},
   OPTTYPE      = {},
   KEYWORDS     = {Topic: <b>Test case generation</b>, Venue: <c>CSMR</c>},
   URL          = {http://goo.gl/kO8zw},
   ABSTRACT     = {We present ACRE, an Automatic aspeCt cREator, to use 
      aspect-oriented programming to test multiplatform software programs 
      written in C++. ACRE allows developers without knowledge of aspect 
      programming to use aspects for testing purposes and to test their 
      programs without modifying their source code. ACRE uses a 
      nonintrusive domain-specific language (DSL) which statements testers 
      insert into the source code to describe the aspect to be used. The 
      presence of DSL statements in the code does not modify the program's 
      compilation and behavior. ACRE parses the DSL and automatically 
      generates appropriate aspects that are then woven into the source 
      code to identify bugs such as memory leaks or incorrect 
      implementation. Testers can also add or remove tests easily. Using an 
      aspect generated by ACRE, we find a memory leak in a complex 
      multi-platform C++ software program, NOMAD, used in both industry and 
      research.}
}

Downloads: 0