Test case design for context-aware applications: Are we there yet?

Ismayle de Sousa Santos, Rossana Maria de Castro Andrade, Lincoln Souza Rocha, Santiago Matalonga, Káthia Marçal de Oliveira, Guilherme Horta Travassos

Research output: Contribution to journalArticlepeer-review

35 Citations (Scopus)
79 Downloads (Pure)

Abstract

Context

Current software systems have increasingly implemented context-aware adaptations to handle the diversity of conditions of their surrounding environment. Therefore, people are becoming used to a variety of context-aware software systems (CASS). This context-awareness brings challenges to the software construction and testing because the context is unpredictable and may change at any time. Therefore, software engineers need to consider the dynamic context changes while testing CASS. Different test case design techniques (TCDT) have been proposed to support the testing of CASS. However, to the best of our knowledge, there is no analysis of these proposals on the advantages, limitations and their effective support to context variation during testing.

Objective

To gather empirical evidence on TCDT concerned with CASS by identifying, evaluating and synthesizing knowledge available in the literature.

Method

To undertake a secondary study (quasi-Systematic Literature Review) on TCDT for CASS regarding their assessed quality characteristics, used coverage criteria, test type, and test technique.
Results

From 833 primary studies published between 2004 and 2014, just 17 studies regard the design of test cases for CASS. Most of them focus on functional suitability. Furthermore, some of them take into account the changes in the context by providing specific test cases for each context configuration (static perspective) during the test execution. These 17 studies revealed five challenges affecting the design of test cases and 20 challenges regarding the testing of CASS. Besides, seven TCDT are not empirically evaluated.

Conclusion

A few TCDT partially support the testing of CASS. However, it has not been observed evidence on any TCDT supporting the truly context-aware testing, which that can adapt the expected output based on the context variation (dynamic perspective) during the test execution. It is an open issue deserving greater attention from researchers to increase the testing coverage and ensure users confidence in CASS.
Original languageEnglish
Pages (from-to)1-16
Number of pages16
JournalInformation and Software Technology
Volume88
Early online date20 Mar 2017
DOIs
Publication statusPublished - 1 Aug 2017
Externally publishedYes

Keywords

  • Context-aware software systems
  • systematic literature review
  • software testing
  • Empirical Software Engineering
  • Test Cases

Fingerprint

Dive into the research topics of 'Test case design for context-aware applications: Are we there yet?'. Together they form a unique fingerprint.

Cite this