Mutation analysis for Java script web application testing

Kazuki Nishiura, Yuta Maezawa, Hironori Washizaki, Shinichi Honiden

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    7 Citations (Scopus)

    Abstract

    When developers test modern web applications that use JavaScript, challenging issues lie in their event-driven, asynchronous, and dynamic features. Many researchers have assessed the adequacy of test cases with code coverage criteria; however, in this paper, we show that the code coverage-based approach possibly misses some faults in the applications. We propose a mutation analysis approach for estimating the faultfinding capability of test cases. We assume that developers can find overlooked fault instances and improve the test cases with the estimated capability. To create a set of faulty programs, i.e., mutants, we classify the JavaScript features in web applications and then define a comprehensive set of mutation operators. We conducted a case study on a real-world application and found that our approach supported the improvement of test cases to expose hand-seeded faults by an extra ten percent.

    Original languageEnglish
    Title of host publicationProceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE
    PublisherKnowledge Systems Institute Graduate School
    Pages159-165
    Number of pages7
    Volume2013-January
    EditionJanuary
    Publication statusPublished - 2013
    Event25th International Conference on Software Engineering and Knowledge Engineering, SEKE 2013 - Boston, United States
    Duration: 2013 Jun 272013 Jun 29

    Other

    Other25th International Conference on Software Engineering and Knowledge Engineering, SEKE 2013
    CountryUnited States
    CityBoston
    Period13/6/2713/6/29

    Fingerprint

    Testing

    Keywords

    • Javascript
    • Mutation analysis and testing
    • Test criteria
    • Web applications

    ASJC Scopus subject areas

    • Software

    Cite this

    Nishiura, K., Maezawa, Y., Washizaki, H., & Honiden, S. (2013). Mutation analysis for Java script web application testing. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE (January ed., Vol. 2013-January, pp. 159-165). Knowledge Systems Institute Graduate School.

    Mutation analysis for Java script web application testing. / Nishiura, Kazuki; Maezawa, Yuta; Washizaki, Hironori; Honiden, Shinichi.

    Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. Vol. 2013-January January. ed. Knowledge Systems Institute Graduate School, 2013. p. 159-165.

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Nishiura, K, Maezawa, Y, Washizaki, H & Honiden, S 2013, Mutation analysis for Java script web application testing. in Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. January edn, vol. 2013-January, Knowledge Systems Institute Graduate School, pp. 159-165, 25th International Conference on Software Engineering and Knowledge Engineering, SEKE 2013, Boston, United States, 13/6/27.
    Nishiura K, Maezawa Y, Washizaki H, Honiden S. Mutation analysis for Java script web application testing. In Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. January ed. Vol. 2013-January. Knowledge Systems Institute Graduate School. 2013. p. 159-165
    Nishiura, Kazuki ; Maezawa, Yuta ; Washizaki, Hironori ; Honiden, Shinichi. / Mutation analysis for Java script web application testing. Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE. Vol. 2013-January January. ed. Knowledge Systems Institute Graduate School, 2013. pp. 159-165
    @inproceedings{e71afab1a6a64c67a568c8b23fc45128,
    title = "Mutation analysis for Java script web application testing",
    abstract = "When developers test modern web applications that use JavaScript, challenging issues lie in their event-driven, asynchronous, and dynamic features. Many researchers have assessed the adequacy of test cases with code coverage criteria; however, in this paper, we show that the code coverage-based approach possibly misses some faults in the applications. We propose a mutation analysis approach for estimating the faultfinding capability of test cases. We assume that developers can find overlooked fault instances and improve the test cases with the estimated capability. To create a set of faulty programs, i.e., mutants, we classify the JavaScript features in web applications and then define a comprehensive set of mutation operators. We conducted a case study on a real-world application and found that our approach supported the improvement of test cases to expose hand-seeded faults by an extra ten percent.",
    keywords = "Javascript, Mutation analysis and testing, Test criteria, Web applications",
    author = "Kazuki Nishiura and Yuta Maezawa and Hironori Washizaki and Shinichi Honiden",
    year = "2013",
    language = "English",
    volume = "2013-January",
    pages = "159--165",
    booktitle = "Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE",
    publisher = "Knowledge Systems Institute Graduate School",
    edition = "January",

    }

    TY - GEN

    T1 - Mutation analysis for Java script web application testing

    AU - Nishiura, Kazuki

    AU - Maezawa, Yuta

    AU - Washizaki, Hironori

    AU - Honiden, Shinichi

    PY - 2013

    Y1 - 2013

    N2 - When developers test modern web applications that use JavaScript, challenging issues lie in their event-driven, asynchronous, and dynamic features. Many researchers have assessed the adequacy of test cases with code coverage criteria; however, in this paper, we show that the code coverage-based approach possibly misses some faults in the applications. We propose a mutation analysis approach for estimating the faultfinding capability of test cases. We assume that developers can find overlooked fault instances and improve the test cases with the estimated capability. To create a set of faulty programs, i.e., mutants, we classify the JavaScript features in web applications and then define a comprehensive set of mutation operators. We conducted a case study on a real-world application and found that our approach supported the improvement of test cases to expose hand-seeded faults by an extra ten percent.

    AB - When developers test modern web applications that use JavaScript, challenging issues lie in their event-driven, asynchronous, and dynamic features. Many researchers have assessed the adequacy of test cases with code coverage criteria; however, in this paper, we show that the code coverage-based approach possibly misses some faults in the applications. We propose a mutation analysis approach for estimating the faultfinding capability of test cases. We assume that developers can find overlooked fault instances and improve the test cases with the estimated capability. To create a set of faulty programs, i.e., mutants, we classify the JavaScript features in web applications and then define a comprehensive set of mutation operators. We conducted a case study on a real-world application and found that our approach supported the improvement of test cases to expose hand-seeded faults by an extra ten percent.

    KW - Javascript

    KW - Mutation analysis and testing

    KW - Test criteria

    KW - Web applications

    UR - http://www.scopus.com/inward/record.url?scp=84906251613&partnerID=8YFLogxK

    UR - http://www.scopus.com/inward/citedby.url?scp=84906251613&partnerID=8YFLogxK

    M3 - Conference contribution

    AN - SCOPUS:84906251613

    VL - 2013-January

    SP - 159

    EP - 165

    BT - Proceedings of the International Conference on Software Engineering and Knowledge Engineering, SEKE

    PB - Knowledge Systems Institute Graduate School

    ER -