DOM transactions for testing JavaScript

  • Authors:
  • Phillip Heidegger;Annette Bieniusa;Peter Thiemann

  • Affiliations:
  • Albert-Ludwigs-Universität Freiburg, Germany;Albert-Ludwigs-Universität Freiburg, Germany;Albert-Ludwigs-Universität Freiburg, Germany

  • Venue:
  • TAIC PART'10 Proceedings of the 5th international academic and industrial conference on Testing - practice and research techniques
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

Unit testing in the presence of side effects requires the construction of a suitable test fixture before each test run. We consider the problem of providing test fixtures for unit testing of client-side JavaScript code that manipulates its underlying web page. We propose using techniques from software transactional memory to restore the test fixture after each test run.