C++ links: Testing
See also:
- General
- Blogs:
- Books
- Courses
- Research
- Concurrency
- Continuous Integration:
- Coverage:
- Generation:
- Property-Based Testing:
- Metamorphic: Metamorphic Relations, Metamorphic Testing
- Reduction:
- Software:
- Talks: 2024, 2022, 2021, 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013
- ACM Special Interest Group on Software Engineering (SIGSOFT)
- Open Table of Contents (TOC) Resources - https://www.sigsoft.org/resources/opentoc.html
- Testing Standards Working Party
- http://www.testingstandards.co.uk/
- Living Glossary of Testing Terms - http://www.testingstandards.co.uk/living_glossary.htm
- cpp-testing-no-excuses
- What Is a Good Test Case?
- 2003; Cem Kaner
- https://kaner.com/pdfs/GoodTest.pdf
- Google Testing Blog
- Evolving Understanding About Exploratory Testing
- Exploratory Testing
- How SQLite Is Tested
- How the GNU coreutils are tested
- Principles of Automated Testing
- Refactoring for testability in C++
- Hard-to-test patterns in C++ and how to refactor them.
- https://github.com/platisd/refactoring-for-testability-cpp
- Testing in Production, the safe way
- Abseil C++ Tips of the Week (TotW)
- #122: Test Fixtures, Clarity, and Dataflow - https://abseil.io/tips/122
- #135: Test the Contract, not the Implementation - https://abseil.io/tips/135
- Embedded C/C++ Unit Testing
- James Grenning
- TDD How-to: Get your Legacy C Into a Test Harness
- TDD Guided by ZOMBIES
- Test-Driven Development For Embedded C++ Programmers
- John Regehr
- Software Testing Using Function/Inverse Pairs - https://blog.regehr.org/archives/708
- Kent Beck
- Programmer Test Principles
- Test Desiderata: properties making tests valuable
- https://github.com/KentBeck/TestDesiderata/blob/master/index.md
- 5-minute videos describing each property with Kent Beck and Kelly Sutton
- “Unit” Tests?
- Nelson Elhage
- Two kinds of testing - https://blog.nelhage.com/post/two-kinds-of-testing/
- How I Write Tests - https://blog.nelhage.com/2016/12/how-i-test/
- Design for Testability - https://blog.nelhage.com/2016/03/design-for-testability/
- Test suites as classifiers - https://blog.nelhage.com/post/test-suites-as-classifiers/
- William Caputo
- TDD: "Failing to Falsify" - http://logosity.net/notes.html#2017.02
- The goal of "unit testing" in TDD - http://logosity.net/notes.html#2017.09
- Software Testing: From Theory to Practice
- Maurício Aniche & Arie van Deursen
- https://sttp.site/
- The Fuzzing Book: Tools and Techniques for Generating Software Tests
- Andreas Zeller, Rahul Gopinath, Marcel Böhme, Gordon Fraser, Christian Holler
- https://www.fuzzingbook.org/
- CMPT 473: Software Testing, Reliability and Security
- Software Analysis and Testing
- Software Testing: How to Make Software Fail
- John Regehr & Sean Bennett
- https://www.udacity.com/course/software-testing--cs258
- Software Testing - Test Suite Compilation and Execution Optimizations
- 2020 PhD Dissertation
- Panagiotis Stratis
- https://hdl.handle.net/1842/37110
- Assertions Are Strongly Correlated with Test Suite Effectiveness
- ESEC/FSE 2015
- Yucheng Zhang, Ali Mesbah
- https://doi.org/10.1145/2786805.2786858
- http://ece.ubc.ca/~amesbah/resources/papers/fse15.pdf
- Assurances in Software Testing: A Roadmap
- ICSE-NIER 2019: International Conference on Software Engineering: New Ideas and Emerging Results
- Marcel Böhme
- https://arxiv.org/abs/1807.10255
- AUSTIN (AUgmented Search-based TestINg): An open source tool for search based software testing of C programs
- Search Based Software Engineering (SSBSE) 2010; Information and Software Technology, 55(1), 2013
- Kiran Lakhotia, Mark Harman, Hamilton Gross
- http://www0.cs.ucl.ac.uk/staff/K.Lakhotia/docs/ist12.pdf
- http://www0.cs.ucl.ac.uk/staff/mharman/ist-kiran.pdf
- http://www0.cs.ucl.ac.uk/staff/Yuanyuan.Zhang/StuConOS/StuConOS-Kiran.pdf
- https://code.google.com/archive/p/austin-sbst/
- https://github.com/kiranlak/austin-sbst
- Compiler Instrumentation for Testing
- https://github.com/martong/finstrument_mock
- Unit Testing in C++ with Compiler Instrumentation and Friends
- Acta Cybernetica 23 (2017)
- Gábor Márton and Zoltán Porkoláb
- https://doi.org/10.14232/actacyb.23.2.2017.14
- https://cyber.bibl.u-szeged.hu/index.php/actcybern/article/view/3947
- Compile-Time Function Call Interception for Testing in C/C++
- Studia Universitatis Babeș-Bolyai Informatica, v. 63, n. 1, 2018
- Gábor Márton, Zoltán Porkoláb
- http://www.cs.ubbcluj.ro/~studia-i/journal/journal/article/view/19
- https://www.researchgate.net/publication/325900400_Compile-Time_Function_Call_Interception_for_Testing_in_CC
- Does Refactoring of Test Smells Induce Fixing Flaky Tests?
- International Conference on Software Maintenance and Evolution (ICSME) 2017
- Fabio Palomba and Andy Zaidman
- https://azaidman.github.io/publications/palombaICSME2017.pdf
- https://www.slideshare.net/fabiopalomba/does-refactoring-of-test-smells-induce-fixing-flaky-tests
- Regression Testing Minimisation, Selection and Prioritisation: A Survey
- Software Testing, Verification and Reliability 22, 2 (2012)
- Shin Yoo and Mark Harman
- http://www0.cs.ucl.ac.uk/staff/M.Harman/stvr-shin-survey.pdf
- STADS: Software Testing as Species Discovery
- ACM Trans. Softw. Eng. Methodol. 27(2) 2018
- Marcel Böhme
- https://dl.acm.org/citation.cfm?doid=3210309
- https://arxiv.org/abs/1803.02130
- Testing C++ generic libraries
- International Conference on Software Maintenance (ICSM) 2012
- Andrew Sutton, Marcin Zalewski
- https://ieeexplore.ieee.org/document/6405251
- https://www.ii.uib.no/~magne/inf328s17-info/inf328-2017s-bldl-presentation-08-SuttonZalewski2012icsm-06405251.pdf
- The Art of Testing Less Without Sacrificing Quality
- ICSE 2015
- Kim Herzig, Michaela Greiler, Jacek Czerwonka, Brendan Murphy
- https://www.microsoft.com/en-us/research/publication/the-art-of-testing-less-without-sacrificing-quality/
- https://blog.acolyer.org/2015/06/25/the-art-of-testing-less-without-sacrificing-quality/
- The Oracle Problem in Software Testing: A Survey
- IEEE Transactions on Software Engineering 41(5) 2015
- Earl Barr, Mark Harman, Phil McMinn, Muzammil Shahbaz, Shin Yoo
- https://ieeexplore.ieee.org/document/6963470
- http://earlbarr.com/publications/testoracles.pdf
- Repository of Publications on the Test Oracle Problem
- Tools and Language Elements for Testing, Encapsulation and Controlling Abstraction in Large Scale C++ Projects
- When Testing Meets Code Review: Why and How Developers Review Tests
- ICSE 2018
- Davide Spadini, Mauricio Aniche, Margaret-Anne Storey, Magiel Bruntink, Alberto Bacchelli
- https://research.tudelft.nl/en/publications/when-testing-meets-code-review-why-and-how-developers-review-test
- Refactoring test code
- International Conference on Extreme Programming and Flexible Processes (XP) 2001
- Arie Van Deursen, Leon Moonen, Alex Bergh, Gerard Kok
- http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.19.5499
- Software Testing and Industry Needs
- IEEE Software, vol. 23, no. 4, July-Aug. 2006
- R. L. Glass, R. Collard, A. Bertolino, J. Bach, C. Kaner
- https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=1657939
- https://ieeexplore.ieee.org/document/1657939/
- Software Testing Research: Achievements, Challenges, Dreams
- Future of Software Engineering 2007; Antonia Bertolino
- http://selab.netlab.uky.edu/homepage/sw-test-roadmap-bertolino.pdf
- Bringing Testing Into the Fold
- IEEE Software 13(3): 91-92 (1996)
- Edward V. Berard
- https://doi.org/10.1109/52.493025
- PIE: A Dynamic Failure-Based Technique
- Jeffrey M. Voas
- IEEE Transactions on Software Engineering, Volume 18 Issue 8, 1992
- https://dl.acm.org/citation.cfm?id=136558
- http://www.cs.odu.edu/~mln/ltrs-pdfs/NASA-92-ieeeswe.jmv.pdf
- PIE: propagation, infection, and execution
- On Testing Non-Testable Programs
- The Computer Journal, vol. 25, no. 4, 1982
- E. J. Weyuker
- https://academic.oup.com/comjnl/article/25/4/465/366384
- A Survey of Recent Trends in Testing Concurrent Software Systems
- IEEE Transactions on Software Engineering (TSE), vol. 44, no. 8, 2018
- https://www.computer.org/csdl/trans/ts/2018/08/07932530-abs.html
- https://home.deib.polimi.it/margara/papers/2017_tse_testing_concurrent_software.pdf
- Applications of Synchronization Coverage
- Principles and Practice of Parallel Programming (PPoPP) 2005
- Arkady Bron, Eitan Farchi, Yonit Magid, Yarden Nir, Shmuel Ur
- https://doi.org/10.1145/1065944.1065972
- Are Concurrency Coverage Metrics Effective for Testing: A Comprehensive Empirical Investigation
- Journal of Software Testing, Verification and Reliability (STVR) 25(4) 2015
- S. Hong, M. Staats, J. Ahn, M. Kim, G. Rothermel
- http://onlinelibrary.wiley.com/doi/10.1002/stvr.1539/abstract
- https://orbilu.uni.lu/bitstream/10993/16540/1/main-journal-concurrent-cov-effectiveness.pdf
- Cuzz – Concurrency Fuzzing
- awesome-ci: List of Continuous Integration services
- ci_helloworld: A simple example of how to setup a complete CI environment for C and C++
- https://github.com/ainfosec/ci_helloworld
- A Test a Day Keeps Your Manager Away!
- CppCon 2017; Rian Quinn
- https://www.youtube.com/watch?v=KdJhQuycD78
- "During this session we will step through an open source project designed to demonstrate how to integrate different C++ analysis tools into your CI services. These tools include static analysis (Clang Tidy, Coverity Scan, Codeacy and CppCheck), dynamic analysis (Valgrind and Google's Sanitizers), source formatting (Astyle and Clang Format), documentation (Doxygen), code coverage (Codecov, Coveralls, and LLVM's Software-based Code Coverage), cross platform tests (Windows, Cygwin, Linux, and macOS), compiler tests (GCC, Clang, and Visual Studio) and finally C++ libraries designed to assist in reliability and automated testing (Catch, Hippomocks and the Guideline Support Library). In addition we will openly discuss the advantages and disadvantages of using various analysis tools, how to integrate these tools into existing projects (both large and small) as well as common problems encountered while using these tools autonomously in a CI environment."
- Code Coverage & Continuous Integration
- 2019 ATPESC Tutorial: Better Scientific Software
- Jared O'Neal
- https://www.youtube.com/watch?v=8JZi7OvGGCc
- https://doi.org/10.6084/m9.figshare.9272813
- Examples
- Travis CI Hello World: Simplest CI example
- CI_Multiplatform: Multiplatform/Multicompiler Travis CI Example
- CI example w/ multiple platforms and specific compiler versions
- https://github.com/jrdoneal/CI_Multiplatform
- Code coverage, testing, and CI example (Fortran, C++)
- Automated Reporting of Anti-Patterns and Decay in Continuous Integration
- ICSE 2019
- Carmine Vassallo, Sebastian Proksch, Harald Gall, Massimiliano Di Penta
- http://doi.org/10.5281/zenodo.2578271
- Continuous delivery: Patterns and antipatterns in the software life cycle
- DZone refcard #145, 2011; P. M. Duvall
- https://dzone.com/refcardz/continuous-delivery-patterns
- Continuous Integration
- 2024-01-18; Martin Fowler
- https://martinfowler.com/articles/continuousIntegration.html
- Continuous Integration: Improving Software Quality and Reducing Risk
- 2007; P. Duvall, S. M. Matyas, A. Glover
- http://www.integratebutton.com/
- Continuous Integration Theater
- Empirical Software Engineering and Measurement (ESEM) 2019
- Wagner Felidré, Leonardo Furtado, Daniel da Costa, Bruno Cartaxo, Gustavo Pinto
- https://arxiv.org/abs/1907.01602
- http://gustavopinto.org/blog/continuous-integration-theater/
- Game Changers - Trunk Based Development
- How to get code coverage from CI
- Modern C++ CI
- CMake, Catch, spdlog, Travis, AppVeyor
- https://juan-medina.com/2017/07/01/moderncppci/
- https://github.com/LearningByExample/ModernCppCI
- Taming Google-Scale Continuous Testing
- ICSE 2017
- Atif Memon, Bao Nguyen, Eric Nickell, John Micco, Sanjeev Dhanda, Rob Siemborski, Zebao Gao
- https://research.google/pubs/pub45861/
- Azure DevOps C++ build tasks for CMake and vcpkg
- CMake Modern: C++, CMake and Travis-CI Hello World
- Continuous Integration Demo
- A demo project for C++14 using CI systems like Travis CI, Circle CI, Google Test, Catch, etc.
- https://github.com/daixtrose/continuous-integration-demo
- Continuous Integration Playground
- A "playground" for testing out basic methods to get Cloud CI systems working with minimal effort. Not just getting any CI working, but specifically getting C++ to work in CI.
- https://github.com/bfgroup/ci_playground
- GitLab CI for C++ projects
- Intro to AppVeyor - C++ Weekly - Ep 80
- Boost.Hana .appveyor.yml
- Github Actions, C++ with Boost and CMake, almost a 50% speedup with caching
- 2020-05-27; Remy van Elst
- https://raymii.org/s/articles/Github_Actions_cpp_boost_cmake_speedup.html
- Using GitHub Actions with C++ and CMake
- Speeding up C++ GitHub Actions using ccache
- .travis.yml Examples
- Boost.Hana: clang++, g++, Boost, Valgrind - https://github.com/boostorg/hana/blob/master/.travis.yml
- Catch2: https://github.com/catchorg/Catch2/blob/master/.travis.yml
- meta: https://github.com/Leandros/meta/blob/master/.travis.yml
- MPark.Variant: https://github.com/mpark/variant/blob/master/.travis.yml
- xstd: clang++, g++, binutils, Boost, libc++, lcov, lld, lldb - https://github.com/rhalbersma/xstd/blob/master/.travis.yml
- C++ CI: Clang, Travis, CMake, GTest, Coveralls & Appveyor
- Intro To Travis CI - C++ Weekly - Ep 79
- Continuous integration with Travis CI
- icc-travis: Script to help install Intel C/C++ Compiler on Travis CI.
- Minimal Travis CI example for modern C++
- Richel Bilderbeek
- C++ Travis CI tutorial
- Favorite C++ setup
- TravisTorrent: Synthesizing Travis CI and GitHub for Full-Stack Research on Continuous Integration
- A Large-Scale, Longitudinal Study of Test Coverage Evolution
- Automated Software Engineering (ASE) 2018
- Michael Hilton, Jonathan Bell, Darko Marinov
- http://jonbell.net/publications/coverage
- http://www.code-coverage.org/publications/
- Code Coverage Analytics: Understanding how lines are (un)covered
- Applications of Synchronization Coverage
- Principles and Practice of Parallel Programming (PPoPP) 2005
- Arkady Bron, Eitan Farchi, Yonit Magid, Yarden Nir, Shmuel Ur
- https://doi.org/10.1145/1065944.1065972
- Assessing Oracle Quality with Checked Coverage
- International Conference on Software Testing, Verification and Validation ICST 2011
- David Schuler and Andreas Zeller
- https://dl.acm.org/citation.cfm?id=1990075
- Automatic Self-Validation for Code Coverage Profilers
- ASE 2019
- Yibiao Yang, Yanyan Jiang, Zhiqiang Zuo, Yang Wang, Hao Sun, Hongmin Lu, Yuming Zhou, Baowen Xu
- https://2019.ase-conferences.org/details/ase-2019-papers/2/Automatic-Self-Validation-for-Code-Coverage-Profilers
- Can Testedness be Effectively Measured
- FSE 2016
- Ahmed, Gopinath, Brindescu, Groce, Jensen
- https://rahul.gopinath.org/resources/fse2016/ahmed2016can.pdf
- https://speakerdeck.com/ahmedi/can-testedness-be-effectively-measured
- https://rahul.gopinath.org/publications/#ahmed2016can
- Code Coverage at Google
- ESEC/FSE 2019
- Marko Ivanković, Goran Petrović, René Just, Gordon Fraser
- https://homes.cs.washington.edu/~rjust/publ/google_coverage_fse_2019.pdf
- https://ai.google/research/pubs/pub48413/
- Code Coverage Best Practices
- Code Coverage for Suite Evaluation by Developers
- ICSE 2014
- Rahul Gopinath, Carlos Jensen, Alex Groce
- http://research.engr.oregonstate.edu/hci/sites/research.engr.oregonstate.edu.hci/files/papers/gopinath2014code_0.pdf
- Code Coverage is a Strong Predictor of Test Suite Effectiveness
- Comparing non-adequate test suites using coverage criteria
- International Symposium on Software Testing and Analysis (2013)
- Gligoric, M., Groce, A., Zhang, C., Sharma, R., Alipour, A., Marinov, D.
- https://agroce.github.io/issta13.pdf
- Coverage and Its Discontents
- Onward! Essays, SPLASH 2014
- Alex Groce, Mohammad Amin Alipour, Rahul Gopinath
- https://agroce.github.io/onwardessays14.pdf
- Coverage is Not Strongly Correlated with Test Suite Effectiveness
- International Conference on Software Engineering 2014
- Laura Inozemtseva and Reid Holmes
- http://www.linozemtseva.com/research/2014/icse/coverage/
- ICSE 2014: https://vimeo.com/92273013
- GTAC 2015: https://www.youtube.com/watch?v=sAfROROGujU
- Covrig: A Framework for the Analysis of Code, Test, and Coverage Evolution in Real Software
- ISSTA 2014
- Paul Marinescu, Petr Hosek, Cristian Cadar
- https://srg.doc.ic.ac.uk/publications/covrig-issta-14.html
- Efficient Binary-Level Coverage Analysis
- ESEC/FSE 2020
- M. Ammar Ben Khadra, Dominik Stoffel, Wolfgang Kunz
- https://arxiv.org/abs/2004.14191
- bcov: A tool for efficient binary-level coverage analysis
- bcov statically instruments x86-64 ELF binaries without compiler support. It features probe pruning, precise CFG analyses, and sophisticated instrumentation techniques.
- https://github.com/abenkhadra/bcov
- Guidelines for coverage-based comparisons of non-adequate test suites
- ACM Transactions on Software Engineering and Methodology (2015)
- Gligoric, M., Groce, A., Zhang, C., Sharma, R., Alipour, A., Marinov, D.
- https://dl.acm.org/citation.cfm?id=2660767
- http://mir.cs.illinois.edu/coco/
- http://users.ece.utexas.edu/~gligoric/papers/GligoricETAL15CoCoJournal.pdf
- How to Misuse Code Coverage
- 1999; Brian Marick
- http://www.exampler.com/testing-com/writings/coverage.pdf
- Hunting for Bugs in Code Coverage Tools via Randomized Differential Testing
- ICSE 2019
- Yibiao Yang, Yuming Zhou, Hao Sun, Zhendong Su, Zhiqiang Zuo, Lei Xu, Baowen Xu
- https://2019.icse-conferences.org/event/icse-2019-technical-papers-how-reliable-are-code-coverage-tools-
- Invasive Software Testing: Mutating Target Programs to Diversify Test Exploration for High Test Coverage
- IEEE International Conference on Software Testing, Verification and Validation (ICST) 2018
- Y. Kim, S. Hong, B. Ko, L. Phan, M. Kim
- http://swtv.kaist.ac.kr/publications/icst18-deminer.pdf
- Modified condition/decision coverage (MC/DC) and compiler implementations
- 2024
- MaskRay (Fangrui Song)
- https://maskray.me/blog/2024-01-28-mc-dc-and-compiler-implementations
- Mythical Unit Test Coverage
- IEEE Software, Volume 35, Issue 3, May/June 2018
- V. Antinyan, J. Derehag, A. Sandberg, M. Staron
- https://ieeexplore.ieee.org/document/8354427/
- https://www.researchgate.net/publication/324959836_Mythical_Unit_Test_Coverage
- Not All Coverage Measurements Are Equal: Fuzzing by Coverage Accounting for Input Prioritization
- Network and Distributed System Security Symposium (NDSS) 2020
- Yanhao Wang, Xiangkun Jia, Yuwei Liu, Tiffany Bao, Dinghao Wu, and Purui Su
- https://ndss-symposium.org/wp-content/uploads/2020/02/24422-paper.pdf
- Selecting Software Test Data Using Data Flow Information
- IEEE Transactions on Software Engineering 11(4) 1985
- Sandra Rapps and Elaine J. Weyuker
- http://ieeexplore.ieee.org/document/1702019/
- TestCov: Robust Test-Suite Execution and Coverage Measurement
- ASE 2019
- Dirk Beyer, Thomas Lemberger
- https://2019.ase-conferences.org/details/ase-2019-Demonstrations/34/TestCov-Robust-Test-Suite-Execution-and-Coverage-Measurement
- Turning Programs against Each Other: High Coverage Fuzz-Testing using Binary-Code Mutation and Dynamic Slicing
- ESEC/FSE 2015
- Ulf Kargén and Nahid Shahmehri
- https://www.ida.liu.se/~ulfka17/papers/FSE2015.pdf
- Verification, coverage and maximization: The big picture
- afl-cov - AFL Fuzzing Code Coverage
- cmake_catch_coverage
- Integration of CMake, Catch and CMake CodeCoverage module for C++ code.
- (CMake CodeCoverage depends on: gcov, gcovr, genhtml, lcov.)
- https://github.com/fkromer/catch_cmake_coverage
- Code Coverage in Chromium
- CompareCoverage
- CompareCoverage (CmpCov in short) is a simple instrumentation module for C/C++ programs and libraries, which extracts information about data comparisons taking place in the code at run time, and saves it to disk in the form of standard .sancov files. It is based on the SanitizerCoverage instrumentation available in the clang compiler, which itself is tightly related to AddressSanitizer. Specifically, the library implements the instrumentation callbacks defined by the Tracing data flow feature of SanitizerCoverage.
- https://github.com/googleprojectzero/CompareCoverage
- CovNavi: Code coverage navigation and analysis
- https://github.com/Cisco-Talos/covnavi
- Fuzzing driven code auditing and vice versa: Coverage analysis for better fuzzing
- cpp-llvm-coverage: How to use LLVM coverage for for C++
- drcov: a DynamoRIO client tool that collects code coverage information
- Dr. Memory provides optional code coverage information to aid in fuzz testing (Fuzz Testing Mode) or in general testing.
- https://dynamorio.org/page_drcov.html
- https://drmemory.org/page_coverage.html
- https://github.com/DynamoRIO/dynamorio/tree/master/clients/drcov
- GNU gcov
- https://gcc.gnu.org/onlinedocs/gcc/Gcov.html
- Writing Better Function Tests with GCOV
- Linaro Connect 2018; Masami Hiramatsu
- https://www.youtube.com/watch?v=U_qWLa9KnW8
- embedded-gcov: GCC/gcov code coverage data extraction from the actual embedded system, without requiring a file system, or an operating system, or standard C libraries.
- Gcovr
- Gcovr provides a utility for managing the use of the GNU gcov utility and generating summarized code coverage results.
- http://gcovr.com/
- https://github.com/gcovr/gcovr
- Dev Santa Claus Part 2: C++ code coverage metrics with gcov
- setting up code coverage metrics for a C++ codebase built using Bamboo, CMake and GCC.
- https://genbattle.bitbucket.io/blog/2018/01/19/Dev-Santa-Claus-Part-2/
- Using Gcov and Lcov to generate beautiful C++ code coverage statistics
- Kcov
- Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
- http://simonkagstrom.github.io/kcov/
- https://github.com/simonkagstrom/kcov
- C++ Weekly - Ep 111 - kcov - https://www.youtube.com/watch?v=NRCnS5alouI
- Kcov - gcov, lcov and bcov - https://simonkagstrom.livejournal.com/50380.html
- Kcov - a single-step code coverage tool
- Simon Kågström; SwedenCpp::Stockholm::0x0F, September 20, 2018
- https://www.youtube.com/watch?v=1QMHbp5LUKg
- LLVM
- Clang Source-based Code Coverage
- SanitizerCoverage
- https://clang.llvm.org/docs/SanitizerCoverage.html
- A quick tour of LLVM’s Sanitizer coverage
- OpenCppCoverage: an open source code coverage tool for C++ under Windows
- SCov: Generate reports on code coverage using gcov, lcov, or llvm-cov
- TestCov: Test execution, coverage measurement, and test-suite reduction
Mutation Analysis, Mutation Coverage, Mutation Testing
- Mutation testing resources: how to make better code by introducing bugs
- https://mutation-testing.slack.com/
- Mutation Testing Repository
- Evaluating Test Effectiveness with Mutation Analysis
- A Systematic Literature Review of How Mutation Testing Supports Quality Assurance Processes
- Software Testing, Verification and Reliability 2018
- Qianqian Zhu, Annibale Panichella, Andy Zaidman
- https://pure.tudelft.nl/portal/en/publications/a-systematic-literature-review-of-how-mutation-testing-supports-quality-assurance-processes(8767f68d-cea1-40b1-8933-a34825212860).html
- A Systematic Literature Review of Techniques and Metrics to Reduce the Cost of Mutation Testing
- Journal of Systems and Software (2019)
- Pizzoleto, Alessandro Viola, Fabiano Cutigi Ferrari, Jeff Offutt, Leo Fernandes, Márcio Ribeiro
- https://cs.gmu.edu/~offutt/rsrch/papers/SLR-CostReductionMutation.pdf
- An Analysis and Survey of the Development of Mutation Testing
- IEEE Trans. Software Eng. 37 (5) 2011
- Y. Jia, M. Harman
- http://dx.doi.org/10.1109/TSE.2010.62
- http://crest.cs.ucl.ac.uk/fileadmin/crest/sebasepaper/JiaH10.pdf
- An Empirical Study on Mutation, Statement and Branch Coverage Fault Revelation that Avoids the Unreliable Clean Program Assumption
- ICSE 2017
- Titcheu Chekam Thierry, Mike Papadakis, Yves Le Traon, Mark Harman
- https://sites.google.com/site/mikepapadakis/ICSE17.pdf
- https://sites.google.com/site/mikepapadakis/faults-mutants
- https://sites.google.com/site/mikepapadakis/metallaxis
- An Industrial Application of Mutation Testing: Lessons, Challenges, and Research Directions
- International Workshop on Mutation Analysis (Mutation 2018)
- Goran Petrovic, Marko Ivankovic, Robert Kurtz, Paul Ammann, René Just
- https://research.google/pubs/pub46907/
- Are Mutants a Valid Substitute for Real Faults in Software Testing?
- Proceedings of the Symposium on the Foundations of Software Engineering 2014
- René Just, Darioush Jalali, Laura Inozemtseva, Michael D. Ernst, Reid Holmes, Gordon Fraser
- http://www.linozemtseva.com/research/2014/fse/mutant_validity
- C++11/14 Mutation Operators Based on Common Fault Patterns
- International Conference on Testing Software and Systems (ICTSS) 2018
- Parsai A., Demeyer S., De Busser S.
- https://link.springer.com/chapter/10.1007%2F978-3-319-99927-2_9
- https://www.parsai.net/files/research/C++11-14%20Mutation%20Operators%20Based%20on%20Common%20Fault%20Patterns%20(pre-print).pdf
- Detecting Trivial Mutant Equivalences via Compiler Optimisations
- IEEE Transactions on Software Engineering 44(4) 2018
- Marinos Kintis, Mike Papadakis, Yue Jia, Nicos Malevris, Yves Le Traon, Mark Harman
- http://pages.cs.aueb.gr/~kintism/papers/tce/
- https://sites.google.com/site/mikepapadakis/tce-tse.pdf?attredirects=0&d=1
- Does mutation testing improve testing practices?
- International Conference on Software Engineering (ICSE) 2021
- Goran Petrović, Marko Ivanković, Gordon Fraser, René Just
- https://arxiv.org/abs/2103.07189
- https://homes.cs.washington.edu/~rjust/publ/mutation_testing_practices_icse_2021.pdf
- Mutation Testing
- 2021; Goran Petrovic
- https://testing.googleblog.com/2021/04/mutation-testing.html
- How Verified (or Tested) is My Code? Falsification-Driven Verification and Testing
- Automated Software Engineering (2018)
- Groce, Alex & Ahmed, Iftekhar & Jensen, Carlos & Mckenney, Paul & Holmes, Josie
- https://agroce.github.io/asej18.pdf
- If You Can’t Kill a Supermutant, You Have a Problem
- ICSTW Mutation 2018
- Rahul Gopinath, Björn Mathis, Andreas Zeller
- https://rahul.gopinath.org/publications/#gopinath2018if
- https://rahul.gopinath.org/resources/icstw2018/gopinath2018if.pdf
- Is Mutation an Appropriate Tool for Testing Experiments?
- ICSE 2005
- J. H. Andrews, L. C. Briand, Y. Labiche
- https://dl.acm.org/citation.cfm?doid=1062455.1062530
- https://www.researchgate.net/publication/221554380_Is_Mutation_an_Appropriate_Tool_for_Testing_Experiments
- Mutant Quality Indicators
- International Workshop on Mutation Analysis (MUTATION) 2018
- Mike Papadakis, Titcheu Chekam Thierry, Yves Le Traon
- http://orbilu.uni.lu/bitstream/10993/34352/1/bare_conf1.pdf
- Mutation Testing Advances: An Analysis and Survey
- Advances in Computers, Volume 112, 2018
- Mike Papadakis, Marinos Kintis, Jie Zhang, Yue Jia, Yves Le Traon, Mark Harman
- https://sites.google.com/site/mikepapadakis/survey.pdf?attredirects=0&d=1
- https://mutationtesting.uni.lu/survey.pdf
- Mutation Testing: From Theory to Practice
- 2019 PhD Dissertation; Ali Parsai
- https://repository.uantwerpen.be/docman/irua/479e80/161581.pdf
- https://www.parsai.net/files/research/PhDThesisAliParsai2019.pdf
- On the Limits of Mutation Analysis
- 2017 PhD Dissertation; Rahul Gopinath
- https://rahul.gopinath.org/resources/phd2017/gopinath2017on.pdf
- State of Mutation Testing at Google
- International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) 2018
- Goran Petrović and Marko Ivanković
- https://ai.google/research/pubs/pub46584
- https://dl.acm.org/citation.cfm?id=3183521
- Study of Trivial Compiler Equivalence on C++ Object-Oriented Mutation Operators
- SAC 2019
- Pedro Delgado-Pérez, Sergio Segura
- https://doi.org/10.1145/3297280.3297499
- https://personal.us.es/sergiosegura/files/papers/delgado19-sac.pdf
- Syntax Is All You Need: A Universal-Language Approach to Mutant Generation
- ACM International Conference on the Foundations of Software Engineering (FSE) 2024
- Sourav Deb, Kush Jain, Rijnard van Tonder, Claire Le Goues, Alex Groce
- https://doi.org/10.1145/3643756
- https://2024.esec-fse.org/details/fse-2024-research-papers/65/Syntax-Is-All-You-Need-A-Universal-Language-Approach-to-Mutant-Generation
- https://agroce.github.io/fse24.pdf
- universalmutator: Regexp based tool for mutating generic source code across numerous languages
- The Care and Feeding of Wild-Caught Mutants
- Foundations of Software Engineering (FSE) 2017
- David Bingham Brown, Michael Vaughn, Ben Liblit, Thomas W. Reps
- http://research.cs.wisc.edu/wpis/abstracts/fse17.abs.html
- MART Framework for Multi-Programming Language Mutation Testing based on LLVM
- LLVM Mutation Artisan (MART) -- a configurable mutation testing framework based on LLVM
- https://github.com/thierry-tct/mart
- Mart: A Mutant Generation Tool for LLVM
- ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) 2019
- Thierry Titcheu Chekam, Mike Papadakis, Yves Le Traon
- https://orbilu.uni.lu/retrieve/63878/72722/main.pdf
- Mull: Mutation testing system built on top of LLVM
- https://github.com/mull-project/mull
- https://lowlevelbits.org/llvm-based-mutation-testing-system.-request-for-comments/
- Mutation Testing Leaving the Stone Age - Alex Denisov, FOSDEM 2017
- Mull it over: mutation testing based on LLVM
- Mutation 2018; Alex Denisov, Stanislav Pankevich
- https://lowlevelbits.org/pdfs/Mull_Mutation_2018.pdf
- Mutate++ - A C++ Mutation Test Environment
- SRCIROR: SRC and IR mutatOR
- performs mutations on source code written in C/C++ and on the LLVM IR
- https://github.com/TestingResearchIllinois/srciror
- SRCIROR: A Toolset for Mutation Testing of C Source Code and LLVM Intermediate Representation
- Automated Software Engineering (ASE) 2018; Farah Hariri and August Shi
- http://mir.cs.illinois.edu/farah/publications/ase18_srciror.pdf
- Testing The Tests: Mutation Testing for C++
- NDC TechTown 2019; Seph De Busser
- https://www.youtube.com/watch?v=M-5_M8qZXaE
Test Generation, Symbolic Execution
- An Orchestrated Survey on Automated Software Test Case Generation
- Journal of Systems and Software 86 (2013)
- Saswat Anand, Edmund K. Burke, Tsong Yueh Chen, John Clark, Myra B. Cohen, Wolfgang Grieskamp, Mark Harman, Mary Jean Harrold, Phil Mcminn
- https://dl.acm.org/citation.cfm?id=2503991
- http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.678.1106
- http://romisatriawahono.net/lecture/rm/survey/software%20engineering/Software%20Testing/Anand%20-%20Automated%20Software%20Test%20Case%20generation%20-%202013.pdf
- Automated Software Test Generation: Some Challenges, Solutions, and Recent Advances
- Special issue Nr. 10,000 of Lecture Notes in Computer Science, Springer, 2018
- George Candea and Patrice Godefroid
- http://dslab.epfl.ch/pubs/automated-test-generation.pdf
- https://patricegodefroid.github.io/public_psfiles/lncs10000-2018.pdf
- FSX: fine-grained incremental unit test generation for C/C++ programs
- ISSTA 2016
- Hiroaki Yoshida, Susumu Tokumoto, Mukul R. Prasad, Indradeep Ghosh, Tadahiro Uehara
- https://dl.acm.org/citation.cfm?id=2931055
- KLEE: Unassisted and Automatic Generation of High-Coverage Tests for Complex Systems Programs
- OSDI 2008
- C. Cadar, D. Dunbar, D. Engler
- http://www.doc.ic.ac.uk/~cristic/papers/klee-osdi-08.pdf
- https://klee.github.io/publications/
- KLOVER (KLee based cOVERage tool, for C/C++)
- KLOVER: Automatic Test Generation for C and C++ Programs, Using Symbolic Execution
- IEEE Software Volume 34, Issue 5, 2017
- H. Yoshida, G. Li, T. Kamiya, I. Ghosh, S. Rajan, S. Tokumoto, K. Munakata, T. Uehara
- http://ieeexplore.ieee.org/document/8048666/
- KLOVER: A Symbolic Execution and Automatic Test Generation Tool for C++ Programs
- CAV 2011
- Guodong Li, Indradeep Ghosh, and Sreeranga P. Rajan
- https://link.springer.com/chapter/10.1007/978-3-642-22110-1_49
- http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.205.5180
- https://lipeng28.github.io/papers/klover.pdf
- KLOVER: Automatic Test Generation for C and C++ Programs, Using Symbolic Execution
- Symbolic Execution Algorithms for Test Generation
- 2009 Dissertation; Ru-Gang Xu
- https://people.mpi-sws.org/~rupak/Papers/RuGangXuThesis.pdf
- Symbolic Execution for Software Testing: Three Decades Later
- CACM 2013
- C. Cadar and K. Sen
- https://people.eecs.berkeley.edu/~ksen/papers/cacm13.pdf
- Test-Comp: International Competition on Software Testing
- a comparative evaluation of automatic tools for software test generation
- https://test-comp.sosy-lab.org/
- Test Generation Using Symbolic Execution
- Foundations of Software Technology and Theoretical Computer Science (FSTTCS) 2012
- Patrice Godefroid
- http://drops.dagstuhl.de/opus/volltexte/2012/3845/
Random Testing
- A Survey on Adaptive Random Testing
- IEEE Transactions on Software Engineering (TSE) 14(8) 2015
- Rubing Huang, Weifeng Sun, Yinyin Xu, Haibo Chen, Dave Towey, Xin Xia
- https://xin-xia.github.io/publication/tse198.pdf
- Adaptive Random Testing
- Asian Computing Science Conference (ASIAN) 2004
- T.Y. Chen, H. Leung, I.K. Mak
- http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.397.2054&rep=rep1&type=pdf
- Adaptive Random Testing: the ART of Test Case Diversity
- Journal of Systems and Software 83 (1) 2010
- Chen, T.Y., Kuo, F.-C., Merkel, R.G., Tse, T.H.
- http://i.cs.hku.hk/~tse/Papers/2010s/rbartJSS.html
- John Regehr
- The Central Limit Theorem Makes Random Testing Hard
- Randomly Testing a Static Analyzer
- Burning in a Module with Random Unit Testing
- Oracles for Random Testing
- Random Test Run Length and Effectiveness
- Automated Software Engineering (ASE) 2008
- J. H. Andrews, A. Groce, M. Weston, and Ru-Gang Xu
- https://agroce.github.io/ase08.pdf
- The Confidence Sequence Method: a computer-age test for statistical SLOs
- https://pvk.ca/Blog/2018/07/06/testing-slo-type-properties-with-the-confidence-sequence-method/
- Lazy Linear Knapsack
- https://pvk.ca/Blog/2020/01/20/lazy-linear-knapsack/
- "TL;DR: the estimation algorithm for individual sampling passes works, and the combination of Hypothesis and Confidence Sequence Method lets us painlessly test for a statistical property."
- haybale: Symbolic execution of LLVM IR with an engine written in Rust
- operates on LLVM IR, which allows it to analyze programs written in C/C++, Rust, Swift, or any other language which compiles to LLVM IR
- https://github.com/PLSysSec/haybale
- KLEE Symbolic Execution Engine
- https://github.com/klee/klee
- https://klee.github.io/
- KLEE: Unassisted and Automatic Generation of High-Coverage Tests for Complex Systems Programs
- OSDI 2008
- C. Cadar, D. Dunbar, D. Engler
- http://www.doc.ic.ac.uk/~cristic/papers/klee-osdi-08.pdf
- https://klee.github.io/publications/
- SymCC: efficient compiler-based symbolic execution
- https://github.com/eurecom-s3/symcc
- Symbolic execution with SymCC: Don't interpret, compile!
- USENIX Security 2020
- Sebastian Poeplau, Aurélien Francillon
- http://www.s3.eurecom.fr/tools/symbolic_execution/symcc.html
- https://www.usenix.org/conference/usenixsecurity20/presentation/poeplau
- What is Property Based Testing?
- Finding Property Tests
- Generating Good Generators for Inductive Relations
- POPL 2018
- Leonidas Lampropoulos, Zoe Paraskevopoulou, Benjamin C. Pierce
- https://zoep.github.io/GeneratingGoodGenerators.pdf
- How hard is it to guide test case generators with branch coverage feedback?
- How to Specify it! A Guide to Writing Properties of Pure Functions
- Trends in Functional Programming (TFP) 2019
- John Hughes
- https://www.tfp2019.org/resources/tfp2019-how-to-specify-it.pdf
- Lambda Days 2020
Metamorphic Relations, Metamorphic Testing
- Metamorphic Testing
- IEEE/ACM International Workshop on Metamorphic Testing (MET)
- A Survey on Metamorphic Testing
- IEEE Transactions on Software Engineering 42(9) 2016
- http://eprints.whiterose.ac.uk/110335/1/segura16-tse.pdf
- http://www.cs.ecu.edu/reu/reufiles/read/metamorphicTesting-16.pdf
- https://pdfs.semanticscholar.org/bc06/14b761bd5f5bad9e157515d7b428ebe63170.pdf
- Automated Metamorphic Testing
- COMPSAC 2003: International Conference on Computer Software and Applications
- Arnaud Gotlieb, Bernard Botella
- http://people.rennes.inria.fr/Arnaud.Gotlieb/publications/GB03.pdf
- Dreaming up Metamorphic Relations: Experiences from Three Fuzzer Tools
- MET 2021
- Andrei Lascu, Matt Windsor, Alastair Donaldson, Tobias Grosser, John Wickerson
- https://www.doc.ic.ac.uk/~afd/homepages/papers/pdfs/2021/MET.pdf
- Metamorphic Fuzzing of C++ Libraries
- IEEE International Conference on Software Testing, Verification and Validation (ICST) 2022
- Andrei Lascu, Alastair F. Donaldson, Tobias Grosser, Torsten Hoefler
- https://multicore.doc.ic.ac.uk/publications/icst-22.html
- https://github.com/0152la/mfpp
- Metamorphic Testing
- CREST Open Workshop 2012
- Tsong Yueh Chen
- http://crest.cs.ucl.ac.uk/cow/20/slides/COW20_Chen.pdf
- http://crest.cs.ucl.ac.uk/cow/20/videos/COW20_Chen.mp4
- How to test a non-testable program?
- STEM Blitz October 2014
- https://www.youtube.com/watch?v=s_geSjqYEyo
- Metamorphic Testing 20 Years Later: A Hands-on Introduction
- Metamorphic Testing and Its Applications
- International Symposium on Future Software Technology (ISFST) 2004
- Zhou, Zhi Quan, D. H. Huang, T. H. Tse, Zongyuan Yang, Haitao Huang, T. Y. Chen
- https://www.cs.hku.hk/data/techreps/document/TR-2004-12.pdf
- Metamorphic Testing: A New Approach for Generating Next Test Cases
- Technical Report HKUST-CS98-01 (Hong Kong University of Science and Technology) 1998
- T. Y. Chen, S. C. Cheung, S. M. Yiu
- https://arxiv.org/abs/2002.12543
- https://www.cse.ust.hk/~scc/publ/CS98-01-metamorphictesting.pdf
- Metamorphic Testing: A Review of Challenges and Opportunities
- ACM Computing Surveys (CSUR) Volume 51, Issue 1, 2018
- Tsong Yueh Chen, Fei-Ching Kuo, Huai Liu, Pak-Lok Poon, Dave Towey, T. H. Tse, and Zhi Quan Zhou
- https://dl.acm.org/citation.cfm?id=3143561
- http://www.cs.hku.hk/research/techreps/document/TR-2017-04.pdf
- Metamorphic Testing: A Simple Yet Effective Approach for Testing Scientific Software
- Computing in Science & Engineering 21(1) 2019
- U. Kanewala and T. Yueh Chen
- https://doi.ieeecomputersociety.org/10.1109/MCSE.2018.2875368
- Metamorphic Testing: Testing the Untestable
- IEEE Software 37(3) 2020
- S. Segura, D. Towey, Z. Zhou, T. Chen
- https://doi.ieeecomputersociety.org/10.1109/MS.2018.2875968
- https://ro.uow.edu.au/eispapers1/3037/
- Techniques for Testing Scientific Programs Without an Oracle
- International Workshop on Software Engineering for Computational Science and Engineering (SE-CSE) 2013
- U. Kanewala and J. Bieman
- https://www.cs.colostate.edu/~bieman/Pubs/kanewalaBieman_icsews13secse_preprint.pdf
Test-Case Reduction, Minimization
See also: Debugging: Readings: Delta Debugging
- Test Case Reduction - Alastair Donaldson and David MacIver
- An Overview of Test Case Reduction
- Beyond Bugs
- Adaptive parallel test-case reduction
- Everything You Ever Wanted To Know About Test-Case Reduction, But Didn’t Know to Ask
- Mitigating (and Exploiting) Test Reduction Slippage
- A-TEST 2016: International Workshop on Automating Test Case Design, Selection, and Evaluation
- Josie Holmes, Alex Groce, Mohammad Amin Alipour
- https://agroce.github.io/atest16.pdf
- Notes on Test-Case Reduction
- Reduce Before You Localize: Delta-Debugging and Spectrum-Based Fault Localization
- 2018 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW)
- Arpit Christi, Matthew Lyle Olson, Mohammad Amin Alipour, Alex Groce
- https://doi.org/10.1109/ISSREW.2018.00005
- https://agroce.github.io/idear18.pdf
- Rust Bug Minimization Patterns
- Test-Case Reduction via Test-Case Generation: Insights From the Hypothesis Reducer
- European Conference on Object-Oriented Programming (ECOOP) 2020
- David R. MacIver and Alastair F. Donaldson
- https://drmaciver.github.io/papers/reduction-via-generation-preview.pdf
- https://doi.org/10.4230/LIPIcs.ECOOP.2020.13
- C-Reduce
- "C-Reduce is a tool that takes a large C, C++, or OpenCL file that has a property of interest (such as triggering a compiler bug) and automatically produces a much smaller C/C++ file that has the same property. It is intended for use by people who discover and report bugs in compilers and other tools that process source code."
- https://embed.cs.utah.edu/creduce/
- Delta Debugging
- https://www.st.cs.uni-saarland.de/dd/
- Delta: Heuristically minimizes interesting files
- halfempty: Fast, Parallel Testcase Minimization
- Shrink Ray: a test-case reducer designed to be effective on a wide range of formats
- Structured Shrinking: Structured shrinking of unknown file formats
- a program and library that attempts to find structure in a file and uses it to produce smaller examples of the same sort of file.
- https://github.com/DRMacIver/structureshrink
- Approval Tests for C++
- Boost.Test
- http://www.boost.org/libs/test/
- Production use of Boost.Test
- BoostCon 2010; Gennadiy Rozental
- https://www.youtube.com/watch?v=WUQkn4CnzF4
- [Boost].UT: C++20 μ(micro)/Unit Testing Framework
- Catch2
- A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
- https://github.com/catchorg/Catch2
- Modern C++ Testing with Catch2 - Phil Nash
- Meeting C++ 2017: https://www.youtube.com/watch?v=3tIE6X5FjDE
- CppCon 2018: https://www.youtube.com/watch?v=Ob5_XZrFQH0
- Cgreen - The Modern Unit Test and Mocking Framework for C and C++
- CppUTest unit testing and mocking framework for C/C++
- CUTE: C++ Unit Testing Easier
- cwrap - A toolset for client server testing
- https://cwrap.org/
- cwrap's mission is to enable developers to test complex network-based and privileged software stacks on UNIX machines with limited network access and without root privileges by providing preloadable libraries to wrap standard libc functions.
- Testing your full software stack with cwrap
- Testing your software stack without root privileges using cwrap
- DeepState: A unit test-like interface for fuzzing and symbolic execution
- https://github.com/trailofbits/deepstate
- DeepState: Symbolic Unit Testing for C and C++
- NDSS 18 Workshop on Binary Analysis Research
- Peter Goodman and Alex Groce
- https://www.cefns.nau.edu/~adg326/bar18.pdf
- Fuzzing an API with DeepState
- doctest
- The fastest feature-rich C++11/14/17/20 single-header testing framework for unit tests and TDD
- https://github.com/onqtam/doctest
- Google Test
- https://github.com/google/googletest
- Introduction to Google Test and Google Mock
- Core C++ 2022; Noam Weiss
- https://www.youtube.com/watch?v=N8a7IFPAPXs
- Rotten Green Tests in Google Test
- ESEC/FSE 2023: ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering
- Paul T. Robinson
- https://dl.acm.org/doi/10.1145/3611643.3613865
- https://2023.esec-fse.org/details/fse-2023-industry/6/Rotten-Green-Tests-in-Google-Test
- GUnit - Google.Test/Google.Mock/Cucumber on steroids
- extends/simplifies Google.Test/Google.Mock and adds support for Gherkin (Behaviour Driven Development) to it
- https://github.com/cpp-testing/GUnit
- OutputCheck: A tool for checking tool output inspired by LLVM's FileCheck
- RapidCheck: QuickCheck clone for C++ with the goal of being simple to use with as little boilerplate as possible.
- https://github.com/emil-e/rapidcheck
- Generating test cases so you don’t have to
- Property based testing in C++ - How to write 1000s of tests in one sitting?
- snitch: Lightweight C++20 testing framework
Test Doubles: Faking, Mocking
- Fake Function Framework (fff)
- A testing micro framework for creating function test doubles.
- https://github.com/meekrosoft/fff
- gen-xfakes
- Generate exploding fakes from C/C++ linker error output (used for unit testing)
- https://github.com/jwgrenning/gen-xfakes
- Wrestle Legacy C and C++ into a Test Harness – Linker Errors
- PowerFake
- C++ Faking library, which allows faking regular functions, static member functions and non-virtual member functions for testing purposes.
- https://gitlab.com/hedayat/powerfake
- https://hedayatvk.wordpress.com/2018/01/22/introducing-powerfake-for-c/
- FakeIt: a simple mocking framework for C++
- Google Mock: The Google C++ mocking framework
- https://github.com/google/googletest/tree/master/googlemock
- https://github.com/google/googletest/tree/master/googlemock/docs
- Writing Expressive Tests with Google Test and Google Mock
- Utah C++ Programmers 2024
- Richard Thomson
- https://www.youtube.com/watch?v=ahIwK64BwcY
- GUnit.GMock
- GoogleMock without writing and maintaining mocks by hand
- https://github.com/cpp-testing/GUnit/blob/master/docs/GMock.md
- Hippomocks: Single-header mocking framework
- Mockitopp: Simple mocking for C++
- Mocxx: A versatile C++ function mocking framework
- Trompeloeil: Header-only C++14 mocking framework
- Google Test Automation Conference (GTAC)
- Testing Rendering Code at Frostbite
- Rendering Engine Architecture Conference (REAC) 2024
- Jon Valdés
- https://www.youtube.com/watch?v=oJynPsNxYDM
- It's A Bug Hunt - Armor Plate Your Unit Tests in Cpp
- Structure and Interpretation of Test Cases
- C++ on Sea 2021
- Kevlin Henney
- https://www.youtube.com/watch?v=RX6WvaxmIyY
- The Unit Tests Strike Back: Testing the Hard Parts
- CppCon 2021; Dave Steffen
- https://www.youtube.com/watch?v=t5qCxp7PJ0Q
- Automated Testing with CMake, CTest, and CDash
- Utah C++ Programmers Meetup; April 8, 2020
- Richard Thomson
- https://www.youtube.com/watch?v=YlIqlVVJWuo
- https://www.slideshare.net/LegalizeAdulthood/automated-testing-with-cmake-ctest-and-cdash
- C++ Testing Techniques, Tips and Tricks
- Test Driven C++
- Munich C++ User Group 2020; Phil Nash
- Part 1: https://www.youtube.com/watch?v=MqNqi_OvnXA
- Part 2: https://www.youtube.com/watch?v=OZFhRjzaC0o
- https://levelofindirection.com/refs/tdcpp.html
- Back to Basics: Test-driven Development
- CppCon 2019; Fedor Pikus
- https://www.youtube.com/watch?v=RoYljVOj2H8
- Making Testing C++ Binaries Practical @ Facebook Scale: A CI Story
- CppCon 2019; Mark Isaacson
- https://www.youtube.com/watch?v=p7xdNjdtojU
- But is it fun? Software Testing in the Video Game Industry
- ICST 2018
- Magnus Nordin (Electronic Arts), David King (DICE), and Stefan Posthuma (Electronic Arts)
- https://www.youtube.com/watch?v=CBIhu_9OolY
- Ensuring Exception Safety Through Testing
- CppCon 2018; Jon Cohen
- https://www.youtube.com/watch?v=XPzHNSUnTc4
- C++ Unit testing - the good, the bad & the ugly
- Microcontrollers in Micro-increments: A Test-driven C++ Workflow for Embedded Systems
- CppCon 2017: Mike Ritchie
- https://www.youtube.com/watch?v=XuHlDtWYeD8
- Mocking C++
- C++Now 2017; Peter Bindels
- https://www.youtube.com/watch?v=t0wLm2iiEH0
- Mocking Frameworks considered harmful
- CppCon 2017; Peter Sommerlad
- https://www.youtube.com/watch?v=uhuHZXTRfH4
- Assessing software quality from first principles
- UCIBrenICS Seminar 2016
- Reid Holmes, University of British Columbia
- code coverage and mutation testing
- https://www.youtube.com/watch?v=RIVLHQjpTck
- Advanced Unit Testing in C & C++
- CppCon 2015; Matt Hargett
- https://www.youtube.com/watch?v=Wmy6g-aVgZI
- All Your Tests are Terrible: Tales from the Trenches
- CppCon 2015; T. Winters & H. Wright
- https://www.youtube.com/watch?v=u5senBJUkPc
- Fast Iteration Tools in the Production of the Talos Principle
- GDC Europe 2015; Alen Ladavac
- http://www.gdcvault.com/play/1022784/Fast-Iteration-Tools-in-the
- Pragmatic Unit Testing in C++
- CppCon 2014; Matt Hargett
- https://www.youtube.com/watch?v=Y8YVSohnlgY
- Integrated Tests are a Scam
- DevConFu 2013; J.B. Rainsberger
- "Strong integration tests, consisting of collaboration tests (clients using test doubles in place of collaborating services) and contract tests (showing that service implementations correctly behave the way clients expect) can provide the same level of confidence as integrated tests at a lower total cost of maintenance."
- https://vimeo.com/80533536
- https://blog.thecodewhisperer.com/series#integrated-tests-are-a-scam