Reputation
Next privilege 125 Rep.
Vote down
Badges
3
Impact
~325 people reached

  • 0 posts edited
  • 0 helpful flags
  • 16 votes cast
Feb
7
comment PHP: code instrumentation library to capture/record new unit test cases?
I would be happy with a tool that just records the return value for a collection of input values (logically testing pure functions). I don't believe there can be a generic tool that can capture all side-effects (e.g. a piece of algorithm may call to SSL protected remote sites, read from /dev/random and write to a pipe and/or file). I think that only a human can write tests that check the side-effects.