DMCA
JSEFT: Automated JavaScript Unit Test Generation
Citations: | 1 - 0 self |
Citations
527 |
Hints on test data selection: Help for the practicing programmer,”
- DeMillo, Lipton, et al.
- 1978
(Show Context)
Citation Context ... the third step of Figure 2. Instead of randomly generating assertions, our oracle generation uses a mutation-based process. Mutation testing is typically used to evaluate the quality of a test suite =-=[21]-=-, or to generate test cases that kill mutants [13]. In our approach, we adopt mutation testing to (1) reduce the number of assertions automatically generated, (2) target critical and error-prone porti... |
133 | D.: A symbolic execution framework for JavaScript
- Saxena, Akhawe, et al.
- 2010
(Show Context)
Citation Context ...(DOM) make JavaScript applications errorprone [1] and difficult to test. Researchers have recently developed automated test generation techniques for JavaScript-based applications [2], [3], [4], [5], =-=[6]-=-. However, current web test generation techniques suffer from two main shortcomings, namely, they: 1) Target the generation of event sequences, which operate at the event-level or DOM-level to cover t... |
72 | Mutation-driven generation of unit tests and oracles.
- Fraser, Zeller
- 2010
(Show Context)
Citation Context ...irected testing. In this paper, we quantitatively compare our approach with that of ARTEMIS (Section V). Oracle generation. There has been limited work on oracle generation for testing. Fraser et al. =-=[13]-=- propose µTEST, which employs a mutant-based oracle generation technique. It automatically generates unit tests for Java object-oriented classes by using a genetic algorithm to target mutations with h... |
63 |
State-based testing of Ajax web applications.
- Marchetto, Tonella, et al.
- 2008
(Show Context)
Citation Context ...ect Model (DOM) make JavaScript applications errorprone [1] and difficult to test. Researchers have recently developed automated test generation techniques for JavaScript-based applications [2], [3], =-=[4]-=-, [5], [6]. However, current web test generation techniques suffer from two main shortcomings, namely, they: 1) Target the generation of event sequences, which operate at the event-level or DOM-level ... |
41 |
Crawling Ajax-Based Web Applications through Dynamic Analysis of User Interface State Changes.
- Mesbah, Deursen, et al.
- 2012
(Show Context)
Citation Context ...sion and 70% recall. II. RELATED WORK Web application testing. Marchetto and Tonella [3] propose a search-based algorithm for generating event-based sequences to test Ajax applications. Mesbah et al. =-=[9]-=- apply dynamic analysis to construct a model of the application’s state space, from which event-based test cases are automatically generated. In subsequent work [5], they propose generic and applicati... |
35 | A framework for automated testing of javascript web applications. In
- Artzi, Dolby, et al.
- 2011
(Show Context)
Citation Context ...cument Object Model (DOM) make JavaScript applications errorprone [1] and difficult to test. Researchers have recently developed automated test generation techniques for JavaScript-based applications =-=[2]-=-, [3], [4], [5], [6]. However, current web test generation techniques suffer from two main shortcomings, namely, they: 1) Target the generation of event sequences, which operate at the event-level or ... |
26 | Automated Oracle Creation Support, or: How I Learned to Stop Worrying about Fault Propagation and Love Mutation Testing,” in
- Staats, Gay, et al.
- 2012
(Show Context)
Citation Context ...er, the generated differences are in the form of controllable mutations that can be used to generate test cases capable of detecting regression faults in future versions of the program. Staats et al. =-=[17]-=- address the problem of selecting oracle data, which is formed as a subset of internal state variables as well as outputs for which the expected values are determined. They apply mutation testing to p... |
25 | Diffgen: Automated regression unit-test generation.
- Taneja, Xie
- 2008
(Show Context)
Citation Context ...ication’s behaviour. They further identify [14] relevant pre-conditions on the test inputs and post-conditions on the outputs to ease human comprehension. Differential test case generation approaches =-=[15]-=-, [16] are similar to mutation-based techniques in that they aim to generate test cases that show the difference between two versions of a program. However, mutation-based techniques such as ours, do ... |
17 | Generating parameterized unit tests
- Fraser, Zeller
- 2011
(Show Context)
Citation Context ...chnique. It automatically generates unit tests for Java object-oriented classes by using a genetic algorithm to target mutations with high impact on the application’s behaviour. They further identify =-=[14]-=- relevant pre-conditions on the test inputs and post-conditions on the outputs to ease human comprehension. Differential test case generation approaches [15], [16] are similar to mutation-based techni... |
14 | Invariant-Based Automatic Testing of Modern Web Applications",
- Mesbah, Deursen, et al.
- 2012
(Show Context)
Citation Context ...odel (DOM) make JavaScript applications errorprone [1] and difficult to test. Researchers have recently developed automated test generation techniques for JavaScript-based applications [2], [3], [4], =-=[5]-=-, [6]. However, current web test generation techniques suffer from two main shortcomings, namely, they: 1) Target the generation of event sequences, which operate at the event-level or DOM-level to co... |
14 | Jalangi: A selective record-replay and dynamic analysis framework for JavaScript.
- Sen, Kalasapur, et al.
- 2013
(Show Context)
Citation Context ...es for testing AJAX applications. Our earlier work, JSART [10], automatically infers program invariants from JavaScript execution traces and uses them as regression assertions in the code. Sen et al. =-=[11]-=- recently proposed a record and replay framework called Jalangi. It incorporates selective record-replay as well as shadow values and shadow execution to enable writing of heavy-weight dynamic analyse... |
9 | Carving and replaying differential unit test cases from system test cases.
- Elbaum, Chin, et al.
- 2009
(Show Context)
Citation Context ...n’s behaviour. They further identify [14] relevant pre-conditions on the test inputs and post-conditions on the outputs to ease human comprehension. Differential test case generation approaches [15], =-=[16]-=- are similar to mutation-based techniques in that they aim to generate test cases that show the difference between two versions of a program. However, mutation-based techniques such as ours, do not re... |
6 |
An empirical study of client-side JavaScript bugs.
- Ocariza, Bajaj, et al.
- 2013
(Show Context)
Citation Context ... and time-consuming. Further, the event-driven and highly dynamic nature of JavaScript, as well as its runtime interaction with the Document Object Model (DOM) make JavaScript applications errorprone =-=[1]-=- and difficult to test. Researchers have recently developed automated test generation techniques for JavaScript-based applications [2], [3], [4], [5], [6]. However, current web test generation techniq... |
6 | Using search-based algorithms for ajax event sequence generation during testing,” - Marchetto, Tonella - 2011 |
4 | JSART: JavaScript assertion-based regression testing,” in
- Mirshokraie, Mesbah
- 2012
(Show Context)
Citation Context ...are automatically generated. In subsequent work [5], they propose generic and applicationspecific invariants as a form of automated soft oracles for testing AJAX applications. Our earlier work, JSART =-=[10]-=-, automatically infers program invariants from JavaScript execution traces and uses them as regression assertions in the code. Sen et al. [11] recently proposed a record and replay framework called Ja... |
2 |
Pythia: Generating test cases with oracles for JavaScript applications
- Mirshokraie, Mesbah, et al.
(Show Context)
Citation Context ...n-level states needed for test generation. Finally, it automatically generates test oracles, through a mutation-based algorithm. A preliminary version of this work appeared in a short New Ideas paper =-=[7]-=-. In this current paper, we present the complete technique with conceptually significant improvements, including detailed new algorithms (Algorithms 1–2), a fully-functional tool implementation, and a... |
1 | Server interface descriptions for automated testing of JavaScript web applications
- Jensen, Møller, et al.
- 2013
(Show Context)
Citation Context ...cution to enable writing of heavy-weight dynamic analyses. The framework is able to track generic faults such as null and undefined values as well as type inconsistencies in JavaScript. Jensen et al. =-=[12]-=- propose a technique to test the correctness of communication patterns between client and server in AJAX applications by incorporating server interface descriptions. They construct server interface de... |
1 | Efficient JavaScript mutation testing
- Mirshokraie, Mesbah, et al.
(Show Context)
Citation Context ... DOM assertions for the state AfterEvDOMSt and the triggered event Ev. Function-level test oracles. To seed code level faults, we use our recently developed JavaScript mutation testing tool, MUTANDIS =-=[22]-=-. Mutations generated by MUTANDIS are selected through a function rank metric, which ranks functions in terms of their relative importance from the application’s behaviour point of view. The mutation ... |