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 条
  • [31] Quickstrom: Property-Based Acceptance Testing with LTL Specifications
    O'Connor, Liam
    Wickstrom, Oskar
    PROCEEDINGS OF THE 43RD ACM SIGPLAN INTERNATIONAL CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION (PLDI '22), 2022, : 1025 - 1038
  • [32] Shrinking Counterexamples in Property-Based Testing with Genetic Algorithms
    Lo, Fang-Yi
    Chen, Chao-Hong
    Chen, Ying-ping
    2020 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2020,
  • [33] Property-Based Testing and Debugging of Quantum Programs (Keynote)
    Mousavi, Mohammad Reza
    PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON THE ART, SCIENCE, AND ENGINEERING OF PROGRAMMING, PROGRAMMING COMPANION 2024, 2024, : 117 - 117
  • [34] Specification testing of agent-based simulation using property-based testing
    Jonathan Thaler
    Peer-Olaf Siebers
    Autonomous Agents and Multi-Agent Systems, 2020, 34
  • [35] TYCHE: Making Sense of Property-Based Testing Efectiveness
    Goldstein, Harrison
    Tao, Jeffrey
    Hatfield-Dodds, Zac
    Pierce, Benjamin C.
    Head, Andrew
    PROCEEDINGS OF THE 37TH ANNUAL ACM SYMPOSIUM ON USER INTERFACE SOFTWARE AND TECHNOLOGY, USIT 2024, 2024,
  • [36] Specification testing of agent-based simulation using property-based testing
    Thaler, Jonathan
    Siebers, Peer-Olaf
    AUTONOMOUS AGENTS AND MULTI-AGENT SYSTEMS, 2020, 34 (02)
  • [37] Property-based Testing of JSON']JSON based Web Services
    Fredlund, Lars-Ake
    Herranz, Angel
    Benac Earle, Clara
    Marino, Julio
    2014 IEEE 21ST INTERNATIONAL CONFERENCE ON WEB SERVICES (ICWS 2014), 2014, : 704 - 707
  • [38] MAKING PROPERTY-BASED TESTING EASIER TO READ FOR HUMANS
    Castro, Laura M.
    Lamela, Pablo
    Thompson, Simon
    COMPUTING AND INFORMATICS, 2016, 35 (04) : 890 - 913
  • [39] Statistical Model Checking Meets Property-Based Testing
    Aichernig, Bernhard K.
    Schumi, Richard
    2017 10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2017, : 390 - 400
  • [40] Failing Faster: Overlapping Patterns for Property-Based Testing
    Fowler, Jonathan
    Hutton, Graham
    PRACTICAL ASPECTS OF DECLARATIVE LANGUAGES (PADL 2017), 2017, 10137 : 103 - 119