eunit
eunit copied to clipboard
The EUnit lightweight unit testing framework for Erlang - this is the canonical development repository.
It could be quite useful to have a macro that can insert random delays in a program, when testing is enabled. It should take both minimum and maximum delay times...
It seems to be a small matter of programming to make eunit run OTP test suites. Another question is what to do about the way the OTP test server automatically...
Currently, functions matching ..._exported_() are automatically exported by eunit when testing is enabled, and removed when testing is disabled. Should this be a permanent feature, and does it need modifications...
The example module examples/eunit_examples.erl is partly broken and should be updated to reflect all or most of the eunit features.
Luke Gorrie wrote on the erlang mailing list (06/11/2007 12:31 PM): > Did I ever post my favourite profiling macro? It's pretty simple: ``` -define(TIME(Tag,Expr), (fun() -> %% NOTE: timer:tc/4...
Seems to be a problem here: starting a slave node does not work until booting has finished, but if we let booting finish, eunit cannot run from the command line...
For EUNIT-7 (https://support.process-one.net/browse/EUNIT-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel), I implemented an experimental feature where you can write {setup, [{Tag, Setup, Cleanup}, ...], Tests-or-Instantiator}, which automatically backs out of only the steps that fail. This needs...
Rethink the motivation for the server process. If it should exist at all, it should be a gen_server. If it should be responsible for flow control, load balancing and distribution,...
EUnit should be able to adjust the number of concurrently running tests (on the same machine) to match the number of available schedulers.
To avoid running a million tests that don't work, there should be a limit on the number of failures allowed before aborting.