Canada Spends Logo

Explorez notre analyse du budget 2026

Grant: Discovery Grants Program - Individual

Simon Fraser University

$24,000.00

Assessing, generating, and prioritizing tests for asynchronous JavaScript programs

EF 2021-22

Résumé
The web has had a significant impact on many aspects of our lives and societies. Web applications have become integral parts of our education, entertainment, governments, businesses, and personal and social lives. Rigorous testing is required to ensure all these applications function as expected. However, testing web applications is a particularly challenging endeavour. JavaScript has been the lingua franca of client-side web development. More recently, platforms such as Node.js have made it possible to use JavaScript for writing code that runs outside of the browser on a light-weight, fast, and scalable platform. As such, server-side JavaScript development has also experienced an exponential growth in the past few years. JavaScript owes some of its popularity to the particular set of the language's paradigms, such as asynchronous execution. JavaScript is single-threaded and thus asynchronous callbacks are used regularly to simulate concurrency and provide capabilities such as rich user interactions, non-blocking I/O, and seamless client/server communications. Unfortunately, the analysis and testing techniques have not evolved nearly as much as our programming paradigms in web development have, and are thus not sufficient for detecting and revealing various bugs in asynchronous code. The goal of this research is to facilitate the process of testing asynchronous JavaScript programs in order to allow the development of robust web applications. To this end, we will provide novel techniques and tool support in development environments for JavaScript programmers and testers' everyday testing activities. Our proposed research will examine traditional testing techniques to better understand and address their shortcomings in the presence of new programming paradigms. We propose to revisit testing of asynchronous code, by introducing new paradigms for assessing the adequacy of existing testing techniques for asynchronous JavaScrip execution, generation of tests that address inadequacies of traditional testing for this evolved programming paradigm, and prioritization of the tests. The outcome of this research will have great impact in research and in industry, and will evolve our view of testing asynchronous code.
Programme
Discovery Grants Program - Individual
Emplacement
British Columbia, Canada
Type de bénéficiaire
Academia
Type
Grant
Source
NSERC's Awards Data

Tel que publié

Application id
RGPIN-2021-03688
Name nom
Alimadadi Jani, Saba
Department département
Computing Science
Organization id
5
Institution établissement
Simon Fraser University
Province en
British Columbia
Province fr
Colombie-Britannique
Country en
CANADA
Country fr
CANADA
Fiscal year exercice financier
2021
Competition year année de concours
2021
Award amount
24000
Program id
RGPIN
Program name en
Discovery Grants Program - Individual
Program name fr
Programme de subventions à la découverte - individuelles
Group en
Discovery grants programs
Group fr
Programmes de subventions à la découverte
Committee code
1507
Committee name en
Computer Science
Committee name fr
Sciences informatiques
Area of application code
801
Area of application group en
Information and communication services
Area of application group fr
Services d'information et de télécommunications
Area of application en
Computer software
Area of application fr
Logiciel
Research subject code
2706
Research subject group en
Information technology
Research subject group fr
Technologie de l'information
Research subject en
Software engineering
Research subject fr
Génie logiciel
Installment
inst:1
Partie
1
Nb partie
5
Application title
Assessing, generating, and prioritizing tests for asynchronous JavaScript programs
Keyword
NSERC
Application summary
The web has had a significant impact on many aspects of our lives and societies. Web applications have become integral parts of our education, entertainment, governments, businesses, and personal and social lives. Rigorous testing is required to ensure all these applications function as expected. However, testing web applications is a particularly challenging endeavour. JavaScript has been the lingua franca of client-side web development. More recently, platforms such as Node.js have made it possible to use JavaScript for writing code that runs outside of the browser on a light-weight, fast, and scalable platform. As such, server-side JavaScript development has also experienced an exponential growth in the past few years. JavaScript owes some of its popularity to the particular set of the language's paradigms, such as asynchronous execution. JavaScript is single-threaded and thus asynchronous callbacks are used regularly to simulate concurrency and provide capabilities such as rich user interactions, non-blocking I/O, and seamless client/server communications. Unfortunately, the analysis and testing techniques have not evolved nearly as much as our programming paradigms in web development have, and are thus not sufficient for detecting and revealing various bugs in asynchronous code. The goal of this research is to facilitate the process of testing asynchronous JavaScript programs in order to allow the development of robust web applications. To this end, we will provide novel techniques and tool support in development environments for JavaScript programmers and testers' everyday testing activities. Our proposed research will examine traditional testing techniques to better understand and address their shortcomings in the presence of new programming paradigms. We propose to revisit testing of asynchronous code, by introducing new paradigms for assessing the adequacy of existing testing techniques for asynchronous JavaScrip execution, generation of tests that address inadequacies of traditional testing for this evolved programming paradigm, and prioritization of the tests. The outcome of this research will have great impact in research and in industry, and will evolve our view of testing asynchronous code.