Sie befinden Sich nicht im Netzwerk der Universität Paderborn. Der Zugriff auf elektronische Ressourcen ist gegebenenfalls nur via VPN oder Shibboleth (DFN-AAI) möglich. mehr Informationen...
Ergebnis 10 von 14715
2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST), 2015, p.1-10
2015
Volltextzugriff (PDF)

Details

Autor(en) / Beteiligte
Titel
JSEFT: Automated Javascript Unit Test Generation
Ist Teil von
  • 2015 IEEE 8th International Conference on Software Testing, Verification and Validation (ICST), 2015, p.1-10
Ort / Verlag
IEEE
Erscheinungsjahr
2015
Quelle
IEEE Xplore
Beschreibungen/Notizen
  • The event-driven and highly dynamic nature of JavaScript, as well as its runtime interaction with the Document Object Model (DOM) make it challenging to test JavaScript-based applications. Current web test automation techniques target the generation of event sequences, but they ignore testing the JavaScript code at the unit level. Further they either ignore the oracle problem completely or simplify it through generic soft oracles such as HTML validation and runtime exceptions. We present a framework to automatically generate test cases for JavaScript applications at two complementary levels, namely events and individual JavaScript functions. Our approach employs a combination of function coverage maximization and function state abstraction algorithms to efficiently generate test cases. In addition, these test cases are strengthened by automatically generated mutation-based oracles. We empirically evaluate the implementation of our approach, called JSEFT, to assess its efficacy. The results, on 13 JavaScript-based applications, show that the generated test cases achieve a coverage of 68% and that JSEFT can detect injected JavaScript and DOM faults with a high accuracy (100% precision, 70% recall). We also find that JSEFT outperforms an existing JavaScript test automation framework both in terms of coverage and detected faults.
Sprache
Englisch
Identifikatoren
ISSN: 2159-4848
eISSN: 2771-3091
DOI: 10.1109/ICST.2015.7102595
Titel-ID: cdi_ieee_primary_7102595

Weiterführende Literatur

Empfehlungen zum selben Thema automatisch vorgeschlagen von bX