DOM Transactions for Testing JavaScript
暂无分享,去创建一个
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.
[1] Maurice Herlihy,et al. Transactional boosting: a methodology for highly-concurrent transactional objects , 2008, PPoPP.
[2] Peter Thiemann,et al. Contract-Driven Testing of JavaScript Code , 2010, TOOLS.
[3] L. Alvisi,et al. A Survey of Rollback-Recovery Protocols , 2002 .
[4] Andrew W. Appel,et al. A Debugger for Standard ML , 1995, Journal of Functional Programming.
[5] Vinod Ganapathy,et al. The case for JavaScript transactions: position paper , 2010, PLAS '10.