Property-Based Testing of Browser Rendering Engines with a Consensus Oracle

被引:0
|
作者
Martin, Joel [1 ]
Levine, David [1 ]
机构
[1] Univ Texas Arlington, Arlington, TX 76010 USA
关键词
D O I
10.1109/COMPSAC.2018.10270
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Verifying that a browser rendering engine correctly renders all valid web pages is a challenging problem due to the size of the input space (valid web pages) and the challenge of knowing whether the rendering for any given page is correct (the test Oracle problem). We propose a property-based testing (PBT) approach that uses controllable grammar-based generators for creating the inputs (web pages containing HTML5 and CSS3) and that uses a (lack of) consensus among multiple rendering engines to identify failing test cases. To assist with root-cause analysis the system uses test shrinking to report much smaller versions of failing test cases. This technique may also be used to test other software systems where there are multiple preexisting implementations of the System under Test (SUT).
引用
收藏
页码:424 / 429
页数:6
相关论文
共 50 条
  • [21] Property-Based Testing: Climbing the Stairway to Verification
    Chen, Zilin
    Rizkallah, Christine
    O'Connor, Liam
    Susarla, Partha
    Klein, Gerwin
    Heiser, Gernot
    Keller, Gabriele
    PROCEEDINGS OF THE 15TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON SOFTWARE LANGUAGE ENGINEERING, SLE 2022, 2022, : 84 - 97
  • [22] Automatic Property-based Testing of GraphQL APIs
    Karlsson, Stefan
    Causevic, Adnan
    Sundmark, Daniel
    2021 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATION OF SOFTWARE TEST (AST 2021), 2021, : 1 - 10
  • [23] Property-Based Testing for the Robot Operating System
    Santos, Andre
    Cunha, Alcino
    Macedo, Nuno
    PROCEEDINGS OF THE 9TH ACM SIGSOFT INTERNATIONAL WORKSHOP ON AUTOMATING TEST CASE DESIGN, SELECTION, AND EVALUATION (A-TEST '18), 2018, : 56 - 62
  • [24] Property-Based Testing by Elaborating Proof Outlines
    Miller, Dale
    Momigliano, Alberto
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2024,
  • [25] From Temporal Models to Property-based Testing
    Alzahrani, Nasser
    Spichkova, Maria
    Blech, Jan Olaf
    ENASE: PROCEEDINGS OF THE 12TH INTERNATIONAL CONFERENCE ON EVALUATION OF NOVEL APPROACHES TO SOFTWARE ENGINEERING, 2017, : 241 - 246
  • [26] Genetic Algorithms as Shrinkers in Property-Based Testing
    Lo, Fang-Yi
    Chen, Chao-Hong
    Chen, Ying-ping
    PROCEEDINGS OF THE 2019 GENETIC AND EVOLUTIONARY COMPUTATION CONFERENCE COMPANION (GECCCO'19 COMPANION), 2019, : 291 - 292
  • [27] A property-based testing framework for encryption programs
    Sun, Chang-ai
    Wang, Zuoyi
    Wang, Guan
    FRONTIERS OF COMPUTER SCIENCE, 2014, 8 (03) : 478 - 489
  • [28] A property-based testing framework for encryption programs
    Chang-ai Sun
    Zuoyi Wang
    Guan Wang
    Frontiers of Computer Science, 2014, 8 : 478 - 489
  • [29] Validation of SDN policies: a property-based testing perspective
    Castro, Laura M.
    Paladi, Nicolae
    10TH INT CONF ON EMERGING UBIQUITOUS SYST AND PERVAS NETWORKS (EUSPN-2019) / THE 9TH INT CONF ON CURRENT AND FUTURE TRENDS OF INFORMAT AND COMMUN TECHNOLOGIES IN HEALTHCARE (ICTH-2019) / AFFILIATED WORKOPS, 2019, 160 : 23 - 29
  • [30] Automating Property-based Testing of Evolving Web Services
    Li, Huiqing
    Thompson, Simon
    Seijas, Pablo Lamela
    Angel Francisco, Miguel
    PEPM '14: PROCEEDINGS OF THE ACM SIGPLAN WORKSHOP ON PARTIAL EVALUATION AND PROGRAM MANIPULATION, 2014, : 169 - 180