Structuring unit tests

Joel Reymont joelr1@REDACTED
Fri Apr 15 10:52:10 CEST 2005


Folks,

I currently have my unit tests at the end of each module. The only way of
moving the tests to a different module that I found is by exporting all
the tested functions or placing a -compile([export_all]) at the top of
the module to be tested. 

How do you prefer to structure your tests?

    Thanks, Joel

-- 
http://wagerlabs.com/tech





More information about the erlang-questions mailing list