Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1138063.1138079acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
Article

Unit testing in multi-agent systems using mock agents and aspects

Published: 22 May 2006 Publication History

Abstract

In this paper, we present a unit testing approach for MASs based on the use of Mock Agents. Each Mock Agent is responsible for testing a single role of an agent under successful and exceptional scenarios. Aspect-oriented techniques are used, in our testing approach, to monitor and control the execution of asynchronous test cases. We present an implementation of our approach on top of JADE platform, and show how we extended JUnit test framework in order to execute JADE test cases.

References

[1]
Avizienis, A; Laprie, J-C; Randell, B; Landwehr, C. Basic Concepts and Taxonomy of Dependable and Secure Computing. IEEE Transactions on Dependable and Secure Computing 1(1), pp. 11--33, 2004.]]
[2]
Beck, K. Extreme Programming Explained. Reading, MA: Addison-Wesley, 2000.]]
[3]
Bellifemine, F., Poggi, A., Rimassa, G. JADE - A FIPA2000 Compliant Agent Development Environment. In Proc. Agents Fifth International Conference on Autonomous Agents, pp. 216--217, 2001.]]
[4]
Binder, R. Testing object-oriented systems: models, patterns, and tools. Addison-Wesley Longman Publishing Co., Inc., 1999.]]
[5]
Caire, G., Cossentino, M., Negri, A., Poggi, A., Turci, P., Multi-agent systems implementation and testing. In Proc. Of 4th International Symposium - From Agent Theory to Agent Implementation (AT2AI-4), 2004.]]
[6]
Cernuzzi, L., Cossentino, M., Zambonelli, F. Process Models for Agent-based Development, Journal of Engineering Applications of Artificial Intelligence, 18(2), 2005.]]
[7]
Czarnecki, K. and Eisenecker, U. Generative Programming: Methods, Tools, and Applications. Addison-Wesley, 2000.]]
[8]
Dantas, A., Cirne, W., Saikoski, K., Using AOP to Bring a Project Back in Shape: The OurGrid Case, Journal of the Brazilian Computer Society, 2005.]]
[9]
DeLoach, S., Wood, M. and Sparkman, C. Multiagent Systems Engineering. International Journal of Software Engineering and Knowledge Engineering, vol. 11, No. 3, pp. 231--258, 2001.]]
[10]
Deters, M.; Cytron, R. K. Introduction of Program Instrumentation using Aspects. Workshop on Advanced Separation of Concerns in OO Systems, 2001.]]
[11]
Filman, R., Elrad, T., Clarke, S., Aksit, M. Aspect-Oriented Software Development. Addison-Wesley, 2005.]]
[12]
Gamma E., Helm R., Johnson R., Vlissides J. Design Patterns, Elements of Reusable Object-Oriented Software. Addison-Wesley, 1995.]]
[13]
Gamma, E. and Beck, K. JUnit: A regression testing framework. http://www.junit.org, 2000.]]
[14]
Garcia, A., Lucena, C., Cowan D. Agents in Object-Oriented Software Engineering. Software Practice & Experience, Elsevier, 34 (5), pp. 489--521, 2004.]]
[15]
Iglesias, C., Garijo, M., Gonzalez, J. C., Velasco, J. R. Analysis and Design of Multiagent Systems using MAS-CommonKADS. Springer, LNCS 1365, pp. 312--328, 1997.]]
[16]
Jonker, C. M., and Treur, J. Compositional Verification of Multi-Agent Systems: a Formal Analysis of Pro-activeness and Reactiveness. Proc. of COMPOS'97, Springer, LNCS 1536, 1998.]]
[17]
Kiczales, G., Lamping, J., Mendhekar, A., Maeda, C., Lopes, C., Loingtier, J., Irwin, J. Aspect-Oriented Programming. European Conference on Object-Oriented Programming (ECOOP), Springer, LNCS (1241), 1997.]]
[18]
Kiczales, G., Hilsdale, E., Hugunin, J., Kersten, M., Palm, J., and Griswold, W. G. Getting Started with AspectJ. Communication of the ACM, 44(10), pp. 59--65, 2001.]]
[19]
Knublauch, H. Extreme programming of multi-agent systems. In Proc. 1st International Joint Conference on Autonomous Agents and Multiagent Systems, pp. 704--711, 2002.]]
[20]
Mackinnon, T., Freeman, S., and Craig, P. EndoTesting: Unit Testing with Mock Objects. Proc. of XP2000, 2000.]]
[21]
McConnell, Code Complete, 2nd Ed., Microsoft Press, 2004.]]
[22]
Myers, G. J. The Art of Software Testing. Wiley, 2nd Ed. 2004.]]

Cited By

View all
  • (2024)How Variables Graphs May Help to Correct Erroneous MAS SpecificationsIntelligent Systems and Applications10.1007/978-3-031-47718-8_43(671-689)Online publication date: 14-Feb-2024
  • (2023)A Behaviour-Driven Approach for Testing Requirements via User and System Stories in Agent SystemsProceedings of the 2023 International Conference on Autonomous Agents and Multiagent Systems10.5555/3545946.3598761(1182-1190)Online publication date: 30-May-2023
  • (2023)A testing framework for JADE agent-based softwareMultiagent and Grid Systems10.3233/MGS-23002319:1(61-98)Online publication date: 1-Jan-2023
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SELMAS '06: Proceedings of the 2006 international workshop on Software engineering for large-scale multi-agent systems
May 2006
117 pages
ISBN:1595933956
DOI:10.1145/1138063
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]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 May 2006

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. aspect oriented programming
  2. dependability
  3. mock objects
  4. unit testing

Qualifiers

  • Article

Conference

ICSE06
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)22
  • Downloads (Last 6 weeks)0
Reflects downloads up to 26 Jan 2025

Other Metrics

Citations

Cited By

View all
  • (2024)How Variables Graphs May Help to Correct Erroneous MAS SpecificationsIntelligent Systems and Applications10.1007/978-3-031-47718-8_43(671-689)Online publication date: 14-Feb-2024
  • (2023)A Behaviour-Driven Approach for Testing Requirements via User and System Stories in Agent SystemsProceedings of the 2023 International Conference on Autonomous Agents and Multiagent Systems10.5555/3545946.3598761(1182-1190)Online publication date: 30-May-2023
  • (2023)A testing framework for JADE agent-based softwareMultiagent and Grid Systems10.3233/MGS-23002319:1(61-98)Online publication date: 1-Jan-2023
  • (2023)A State-of-the-Art Review of the Mutation Analysis Technique for Testing Multi-agent SystemsNovel & Intelligent Digital Systems: Proceedings of the 3rd International Conference (NiDS 2023)10.1007/978-3-031-44146-2_23(230-235)Online publication date: 23-Sep-2023
  • (2022)Multi-Level Testing Approach for Multi-Agent SystemsInternational Journal of Organizational and Collective Intelligence10.4018/IJOCI.30488312:1(1-23)Online publication date: 21-Jul-2022
  • (2022)A Novel Mutation Analysis-Based Approach for Testing Parallel Behavioural Scenarios in Multi-Agent SystemsElectronics10.3390/electronics1122364211:22(3642)Online publication date: 8-Nov-2022
  • (2022)Testing anticipatory systemsJournal of Systems and Software10.1016/j.jss.2022.111387192:COnline publication date: 25-Aug-2022
  • (2022)Seamless Integration and Testing for MAS EngineeringEngineering Multi-Agent Systems10.1007/978-3-030-97457-2_15(254-272)Online publication date: 10-Mar-2022
  • (2021)Agents and Robots for Reliable Engineered Autonomy:A Perspective from the Organisers of AREA 2020Journal of Sensor and Actuator Networks10.3390/jsan1002003310:2(33)Online publication date: 14-May-2021
  • (2021)GAMUT: GAMe-based learning approach for teaching Unit TestingProceedings of the XX Brazilian Symposium on Software Quality10.1145/3493244.3493263(1-11)Online publication date: 8-Nov-2021
  • Show More Cited By

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media