/source-refactor-for-test

small program to refactor c/cpp source for testing

Primary LanguageC++MIT LicenseMIT

Source 2 Test Refactor

A small tool, that refactors c/cpp source to support testing

Features (planned)

  • add missing else to single ifs
  • add some code to see if a while has branch coverage
  • prettify code (clang-format like)
  • extract static const ... inside functions into a visible scope
  • extract static inside functions into a visible scope
  • handle inline methods in headers in some way it can be stubbed

Features (implemented)