Design Goals - Potent-Code/potency GitHub Wiki

Potency Design Goals

  • Solid and simple C testing framework, with some C++ sugar later on down the line
  • Clear, complete documentation
  • Portable to all feasible target systems and compilers
  • Simple, effective, portable build system using bam
  • Benchmarking and memory usage tracking
  • Multithreaded test execution
  • Output reports in Markdown, JSON, or XML

Potency Feature Requirements

  • Provide a main function so a test suite binary command line tool can be built simply by linking to it
  • Ability to filter by test case names
  • Ability to list test case names
  • Output number of test cases, number of assertions, number of passed assertions, number of failed assertions, success percentage
  • Output file name and line number of failed assertions
  • Allow for optional user supplied setup and tear down functions per test suite