Unit Test、GoogleTest 与可测试设计 | C++

本章覆盖:unit test;GoogleTest 的行业常见定位;test case;fixture;assertion;boundary condition;exception test;death test 的特殊边界;dependency injection;deterministic test;concurrency test;测试不能只覆盖 happy path。

本章知识点

  • unit test
  • GoogleTest 的行业常见定位
  • test case
  • fixture
  • assertion
  • boundary condition
  • exception test
  • death test 的特殊边界
  • dependency injection
  • deterministic test
  • concurrency test
  • 测试不能只覆盖 happy path