The complete guide to software testing for CFD applications

Part 1: How to get started with software testing for CFD codes

Learn the principles of software testing and the difference between manual and automated unit, integration, and system testing for CFD applications. Read More

Part 2: The test-driven development for writing bug-free CFD code

Learn how to implement the agile test-driven development (TDD) approach into your own coding workflow by going through a step-by-step example. Read More

Part 3: How to get started with gtest in C++ for CFD development

Learn how to compile and use Google's testing library gtest to write tests for your own CFD solver projects and catch bugs before they break your code. Read More

Part 4: How To Test A CGNS-based Mesh Reading Library Using gtest

Learn how to unit test a CGNS-based structured and unstructured mesh reading library using google test (gtest), including an introduction to test fixtures. Read More

Part 5: How To Test A Linear Algebra Solver Library Using gtest

Learn how to test a linear algebra solver library with unit, integration, and system tests using Google test (gtest). Read More

Part 6: How to use mocking in CFD test code using gtest and gmock

Discover mocking and its use for bypassing CFD solver unit test dependencies, exemplified with a JSON-based parameter file reading example. Read More

Part 7: What is test coverage and how to use LCOV/GCOV for testing

Learn what test coverage is and how to create interactive HTML-based reports to visualise that code is tested. Never miss a bug due to untested code again. Read More