WasmView: Visual Testing for WebAssembly Applications

WasmView: Visual Testing for WebAssembly Applications
复制标题

WasmView:WebAssembly 应用程序的可视化测试

DOI:
--
复制
发表时间:
2020
期刊:
2020 IEEE/ACM 42nd International Conference on Software Engineering: Companion Proceedings (ICSE-Companion)
影响因子:
--
通讯作者:
Weihang Wang
Weihang Wang
中科院分区:
--
文献类型:
--
作者:
Alan Romano;Weihang Wang

文献摘要

被引文献

相似文献

WebAssembly是到达网络上的最新语言。它具有二进制代码格式,可作为C,C ++和Rust等母语的编译目标,并允许将本机应用程序用于Web使用。在当前的实现中,WebAssembly需要至少与JavaScript进行交互,以初始化并与Web API进行交互。结果,了解WebAssembly和JavaScript之间的函数调用对于使用此新语言的测试,调试和维护应用程序至关重要。为此,我们开发了一个工具,即WasmView,可视化WebAssembly和JavaScript之间在Web应用程序中进行的函数调用。 WasmView还记录了应用程序的堆栈跟踪和屏幕截图。该工具可以帮助支持交互式应用程序的视觉测试,并协助代码更新进行重构。可以在https://youtu.be/kjkxl7l7zxi上查看WASMVIEW的演示视频,可以在https://github.com/wasmview/wasmview/wasmview.github.io上找到源代码。
WebAssembly is the newest language to arrive on the web. It features a binary code format to serve as a compilation target for native languages such as C, C++, and Rust and allows native applications to be ported for web usage. In the current implementation, WebAssembly requires interaction with JavaScript at a minimum to initialize and additionally to interact with Web APIs. As a result, understanding the function calls between WebAssembly and JavaScript is crucial for testing, debugging, and maintaining applications utilizing this new language. To this end, we develop a tool, WasmView, to visualize function calls made between WebAssembly and JavaScript in a web application. WasmView also records the stack traces and screenshots of applications. This tool can help in supporting visual testing for interactive applications and assisting refactoring for code updates. The demo video for WasmView can be viewed at https://youtu.be/kjKxL7L7zxI and the source code can be found at https://github.com/wasmview/wasmview.github.io.