lfex / ltest

A Testing Framework for LFE (successor to lfeunit)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ltest-runner: formatting

oubiwann opened this issue · comments

  • bracket OKs
  • make OKs lower-case
  • space OKs with dots
  • make suite opening and closing heading bold green
  • make test type divider/heading blue
  • display the message "There were no tests of this type to run." when no tests of type
  • make that message yellow
  • trim dividers/headings when too long
  • add an extra character when dividers/headings too short
  • don't indent test functions so far -- just use 2 or 4 spaces
  • prepend module names with "module: "
  • make module names bold green
  • display stats after all test types have run
  • display individual section times (e.g., unit, integration, system)
  • display section total cumulative time
  • display section total passed/failed counts
  • display section total skipped counts
  • if any tests pass, in the final stats report display the "Passed" string in bold green
  • if any tests fail, in the final stats report display the "Failed" string in red
  • if any tests are skipped, in the final stats report display the "Skipped" string in blue
  • leave off the trailing _test in the module name