一句话:提出 Test262 测试元数据新格式与 MetaData262 工具,支持为部分 JavaScript 实现自动选择测试。
JavaScript 语言存在许多部分参考实现,但此前没有自动机制为这些实现挑选合适的官方测试。本文针对官方 JavaScript 测试套件 Test262,提出一种新的测试元数据表示格式,并实现 MetaData262:它既能自动计算 Test262 测试的元数据,也能根据元数据属性过滤测试。由此,开发者可依据某个部分实现实际支持的语言特性,自动筛选出相关官方测试,从而更高效地评估和测试其实现。摘要未报告定量实验评估,主要贡献在于元数据格式设计与工具实现。
Despite the large number of partial reference implementations of the JavaScript language, there is currently no automatic mechanism for selecting the appropriate official tests for such implementations. To fill this gap, we introduce a new format for presenting the metadata associated with the tests included in Test262, the official JavaScript test suite, and present MetaData262, a new tool for both computing the metadata of Test262 tests and filtering tests according to their respective metadata properties.
@inproceedings{RamosRT0S23,
title = {MetaData262: Automatic Test Suite Selection for Partial JavaScript Implementations},
author = {Frederico Ramos and Diogo Costa Reis and Miguel Trigo and António Morgado and José Fragoso Santos},
booktitle = {ISSTA},
year = {2023},
doi = {10.1145/3597926.3604923}
}