Structuring unit tests
Fri Apr 15 12:10:05 CEST 2005
--- Joel Reymont <joelr1@REDACTED> wrote:
> exporting all
> the tested functions or placing a
> -compile([export_all]) at the top of
> the module to be tested.
You can also do that with a command line option:
% erlc +export_all mymod.erl
That means you can make it a flag in the makefile,
which often is useful.
> How do you prefer to structure your tests?
The test_server is probably state of the art.
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
More information about the erlang-questions