Author Topic: Testing for you PHP folk  (Read 2593 times)

hans

  • Guitar Addict
  • Jackass In Charge
  • Posts: 3523
  • Karma: +46/-18
Testing for you PHP folk
« on: September 19, 2013, 10:50:50 AM »
https://github.com/zavg/Asis

I saw a HN article on this today and thought it looked interesting. If I'm reading it right (and it was quick because I don't do PHP anymore), the general concept is it logs calls and makes tests out of them so you can include them if you don't have tests for legacy code. Of course they might be wrong but at least they should be consistent with what you currently have.

I might need to look into something like that in the Java world. Should be pretty easy to do something similar to monitor method calls and generate input/output checks.
This signature intentionally left blank.