lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



On Oct 31, 2005, at 19:19, David Given wrote:

On Monday 31 October 2005 17:06, PA wrote:
http://www.mindview.net/WebLog/log-0025

He wants to use OCaml, he does.

Even with OCaml, he wants testing:

"If it's not tested, it's broken."
"Strong testing, not strong typing."

OUnit
"OUnit is a unit test framework for OCaml"
http://www.xs4all.nl/~mmzeeman/ocaml/

Talking of which, beside lunit [1], is there any other attempt at providing a more or less coherent unit testing framework for Lua?

Unit testing coupled with some of the debug hooks (e.g. "line") could provide an handy code coverage tool:

"Unit Testing and Code Coverage with Xcode"
http://www.supermegaultragroovy.com/Software%20Development/ xcode_code_coverage_howto

[1] http://www.nessie.de/mroth/lunit/