Prioritizing State-Based Aspect Tests. Xu, D. & Ding, J. In 2010 Third International Conference on Software Testing, Verification and Validation (ICST), pages 265--274, April, 2010. doi abstract bibtex In aspect-oriented programming, aspects are essentially incremental modifications to their base classes. Therefore aspect-oriented programs can be tested in an incremental fashion - we can first test the base classes and then test the base classes and aspects as a whole. This paper demonstrates that, in this incremental testing paradigm, we can prioritize aspect tests so as to report failure earlier. We explore test prioritization for testing aspect-oriented programs against their state models with transition coverage and round-trip coverage. Aspect tests are generated from woven state models obtained by composing aspect models into their base class models. We prioritize aspect tests by identifying the extent to which an aspect modifies its base classes. The modification is measured by the number of new and changed components in state transitions (start state, event, precondition, postcondition, end state). Transitions with more changes have higher priorities for test generation. We evaluate the impact of aspect test prioritization through mutation analysis of two AspectJ programs, where all aspects and their base classes can be modeled by finite state machines. We create aspect mutants of each AspectJ program according to a comprehensive AspectJ fault model. Then we test each mutant with the test suites generated without prioritization and with prioritization, respectively. Our experiment results show that prioritization of aspect tests has accelerated failure report.
@inproceedings{ xu_prioritizing_2010,
title = {Prioritizing {State}-{Based} {Aspect} {Tests}},
doi = {10.1109/ICST.2010.14},
abstract = {In aspect-oriented programming, aspects are essentially incremental modifications to their base classes. Therefore aspect-oriented programs can be tested in an incremental fashion - we can first test the base classes and then test the base classes and aspects as a whole. This paper demonstrates that, in this incremental testing paradigm, we can prioritize aspect tests so as to report failure earlier. We explore test prioritization for testing aspect-oriented programs against their state models with transition coverage and round-trip coverage. Aspect tests are generated from woven state models obtained by composing aspect models into their base class models. We prioritize aspect tests by identifying the extent to which an aspect modifies its base classes. The modification is measured by the number of new and changed components in state transitions (start state, event, precondition, postcondition, end state). Transitions with more changes have higher priorities for test generation. We evaluate the impact of aspect test prioritization through mutation analysis of two AspectJ programs, where all aspects and their base classes can be modeled by finite state machines. We create aspect mutants of each AspectJ program according to a comprehensive AspectJ fault model. Then we test each mutant with the test suites generated without prioritization and with prioritization, respectively. Our experiment results show that prioritization of aspect tests has accelerated failure report.},
booktitle = {2010 {Third} {International} {Conference} on {Software} {Testing}, {Verification} and {Validation} ({ICST})},
author = {Xu, Dianxiang and Ding, Junhua},
month = {April},
year = {2010},
keywords = {Aspect-oriented programming, AspectJ fault model, AspectJ program, Automata, Computer science, Genetic mutations, Life estimation, Model-based Testing, Mutation analysis, Object oriented modeling, Protection, Quality assurance, _done, _model_of_faults, _paradigm_aop, _target_is_code, aspect oriented programming, aspect test prioritization, fault tolerant computing, finite state machine, finite state machines, incremental testing paradigm, program testing, software testing, state based aspect test, test prioritization},
pages = {265--274}
}
Downloads: 0
{"_id":"2qwTL8sTGr7pmMt3f","bibbaseid":"xu-ding-prioritizingstatebasedaspecttests-2010","downloads":0,"creationDate":"2015-04-15T11:01:18.350Z","title":"Prioritizing State-Based Aspect Tests","author_short":["Xu, D.","Ding, J."],"year":2010,"bibtype":"inproceedings","biburl":"http://bibbase.org/zotero/troeger","bibdata":{"abstract":"In aspect-oriented programming, aspects are essentially incremental modifications to their base classes. Therefore aspect-oriented programs can be tested in an incremental fashion - we can first test the base classes and then test the base classes and aspects as a whole. This paper demonstrates that, in this incremental testing paradigm, we can prioritize aspect tests so as to report failure earlier. We explore test prioritization for testing aspect-oriented programs against their state models with transition coverage and round-trip coverage. Aspect tests are generated from woven state models obtained by composing aspect models into their base class models. We prioritize aspect tests by identifying the extent to which an aspect modifies its base classes. The modification is measured by the number of new and changed components in state transitions (start state, event, precondition, postcondition, end state). Transitions with more changes have higher priorities for test generation. We evaluate the impact of aspect test prioritization through mutation analysis of two AspectJ programs, where all aspects and their base classes can be modeled by finite state machines. We create aspect mutants of each AspectJ program according to a comprehensive AspectJ fault model. Then we test each mutant with the test suites generated without prioritization and with prioritization, respectively. Our experiment results show that prioritization of aspect tests has accelerated failure report.","author":["Xu, Dianxiang","Ding, Junhua"],"author_short":["Xu, D.","Ding, J."],"bibtex":"@inproceedings{ xu_prioritizing_2010,\n title = {Prioritizing {State}-{Based} {Aspect} {Tests}},\n doi = {10.1109/ICST.2010.14},\n abstract = {In aspect-oriented programming, aspects are essentially incremental modifications to their base classes. Therefore aspect-oriented programs can be tested in an incremental fashion - we can first test the base classes and then test the base classes and aspects as a whole. This paper demonstrates that, in this incremental testing paradigm, we can prioritize aspect tests so as to report failure earlier. We explore test prioritization for testing aspect-oriented programs against their state models with transition coverage and round-trip coverage. Aspect tests are generated from woven state models obtained by composing aspect models into their base class models. We prioritize aspect tests by identifying the extent to which an aspect modifies its base classes. The modification is measured by the number of new and changed components in state transitions (start state, event, precondition, postcondition, end state). Transitions with more changes have higher priorities for test generation. We evaluate the impact of aspect test prioritization through mutation analysis of two AspectJ programs, where all aspects and their base classes can be modeled by finite state machines. We create aspect mutants of each AspectJ program according to a comprehensive AspectJ fault model. Then we test each mutant with the test suites generated without prioritization and with prioritization, respectively. Our experiment results show that prioritization of aspect tests has accelerated failure report.},\n booktitle = {2010 {Third} {International} {Conference} on {Software} {Testing}, {Verification} and {Validation} ({ICST})},\n author = {Xu, Dianxiang and Ding, Junhua},\n month = {April},\n year = {2010},\n keywords = {Aspect-oriented programming, AspectJ fault model, AspectJ program, Automata, Computer science, Genetic mutations, Life estimation, Model-based Testing, Mutation analysis, Object oriented modeling, Protection, Quality assurance, _done, _model_of_faults, _paradigm_aop, _target_is_code, aspect oriented programming, aspect test prioritization, fault tolerant computing, finite state machine, finite state machines, incremental testing paradigm, program testing, software testing, state based aspect test, test prioritization},\n pages = {265--274}\n}","bibtype":"inproceedings","booktitle":"2010 Third International Conference on Software Testing, Verification and Validation (ICST)","doi":"10.1109/ICST.2010.14","id":"xu_prioritizing_2010","key":"xu_prioritizing_2010","keywords":"Aspect-oriented programming, AspectJ fault model, AspectJ program, Automata, Computer science, Genetic mutations, Life estimation, Model-based Testing, Mutation analysis, Object oriented modeling, Protection, Quality assurance, _done, _model_of_faults, _paradigm_aop, _target_is_code, aspect oriented programming, aspect test prioritization, fault tolerant computing, finite state machine, finite state machines, incremental testing paradigm, program testing, software testing, state based aspect test, test prioritization","month":"April","pages":"265--274","title":"Prioritizing State-Based Aspect Tests","type":"inproceedings","year":"2010","bibbaseid":"xu-ding-prioritizingstatebasedaspecttests-2010","role":"author","urls":{},"keyword":["Aspect-oriented programming","AspectJ fault model","AspectJ program","Automata","Computer science","Genetic mutations","Life estimation","Model-based Testing","Mutation analysis","Object oriented modeling","Protection","Quality assurance","_done","_model_of_faults","_paradigm_aop","_target_is_code","aspect oriented programming","aspect test prioritization","fault tolerant computing","finite state machine","finite state machines","incremental testing paradigm","program testing","software testing","state based aspect test","test prioritization"],"downloads":0},"search_terms":["prioritizing","state","based","aspect","tests","xu","ding"],"keywords":["aspect-oriented programming","aspectj fault model","aspectj program","automata","computer science","genetic mutations","life estimation","model-based testing","mutation analysis","object oriented modeling","protection","quality assurance","_done","_model_of_faults","_paradigm_aop","_target_is_code","aspect oriented programming","aspect test prioritization","fault tolerant computing","finite state machine","finite state machines","incremental testing paradigm","program testing","software testing","state based aspect test","test prioritization"],"authorIDs":[],"dataSources":["zHc5HdgBCDgkarEqH"]}