Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1566445.1566519acmotherconferencesArticle/Chapter ViewAbstractPublication Pagesacm-seConference Proceedingsconference-collections
research-article

Using metaprogramming to implement a testing framework

Published: 19 March 2009 Publication History

Abstract

Testing plays an important role in improving software quality. However, test preparation, execution, and report analysis are labor-intensive tasks that require different activities and methods to obtain benefit from the testing process. This poster describes an investigation into the use of metaprogramming, which can reflect the internals of a system, to implement a common test framework that can be used to reduce the burden for test preparation in unit and system testing. The framework focuses on generating instrumented Java bytecode based on several sources of input (e.g., source code or bytecode, and information provided by each test case). Both load-time and compile-time metaprograms are used within the framework to inform the testing process.

References

[1]
]]Roger S. Pressman, Software Engineering: A Practitioner's Approach, McGraw-Hill, 2007.
[2]
]]http://www.junit.org/
[3]
]]http://cunit.sourceforge.net/
[4]
]]http://apps.sourceforge.net/mediawiki/cppunit/
[5]
]]Ribeiro, J. and Rela, M. Z., "Using Dynamic Analysis of Java Bytecode for Evolutionary Object-Oriented Unit Testing," Workshop on Testing and Fault Tolerance, held at the Brazilian Symposium on Computer Networks and Distributed Systems, Belém, Brazil, May 2007, pp. 143--156.
[6]
]]http://jfunc.sourceforge.net/
[7]
]]Tatsubori, M., Chiba, S., Killijian, M., and Itano, K., "OpenJava: A Class-Based Macro System for Java," Reflection and Software Engineering, Denver, CO, November 1999, pp. 117--133.
[8]
]]Chiba, S., "Load-time Structural Reflection in Java," European Conference on Object-Oriented Programming, Cannes, France, June 2000, pp. 313--336.
[9]
]]Kniesel, G., Costanza, P., and Austermann, M., "JMangler: A Framework for Load-Time Transformation of Java Class Files," International Workshop on Source Code Analysis and Manipulation, Florence, Italy, November 2001, pp. 100--110.
[10]
]]Forman, I. and Forman, N., Java Reflection in Action, Manning Publication, 2004.

Cited By

View all
  • (2024)From static code analysis to visual models of microservice architectureCluster Computing10.1007/s10586-024-04394-727:4(4145-4170)Online publication date: 24-Apr-2024
  • (2022)Microservice Architecture Reconstruction and Visualization Techniques: A Review2022 IEEE International Conference on Service-Oriented System Engineering (SOSE)10.1109/SOSE55356.2022.00011(39-48)Online publication date: Aug-2022
  • (2020)On Code Analysis Opportunities and Challenges for Enterprise Systems and MicroservicesIEEE Access10.1109/ACCESS.2020.30199858(159449-159470)Online publication date: 2020

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Other conferences
ACMSE '09: Proceedings of the 47th annual ACM Southeast Conference
March 2009
430 pages
ISBN:9781605584218
DOI:10.1145/1566445
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 19 March 2009

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. metaprogramming
  2. testing framework
  3. transformation

Qualifiers

  • Research-article

Conference

ACM SE 09
ACM SE 09: ACM Southeast Regional Conference
March 19 - 21, 2009
South Carolina, Clemson

Acceptance Rates

Overall Acceptance Rate 502 of 1,023 submissions, 49%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 14 Oct 2024

Other Metrics

Citations

Cited By

View all
  • (2024)From static code analysis to visual models of microservice architectureCluster Computing10.1007/s10586-024-04394-727:4(4145-4170)Online publication date: 24-Apr-2024
  • (2022)Microservice Architecture Reconstruction and Visualization Techniques: A Review2022 IEEE International Conference on Service-Oriented System Engineering (SOSE)10.1109/SOSE55356.2022.00011(39-48)Online publication date: Aug-2022
  • (2020)On Code Analysis Opportunities and Challenges for Enterprise Systems and MicroservicesIEEE Access10.1109/ACCESS.2020.30199858(159449-159470)Online publication date: 2020

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media