Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix tests= option not running generator tests | Roberto Ostinelli | 2012-08-20 | 1 | -2/+11 |
| | |||||
* | Add experimental tests= filter without eunit suites | Roberto Ostinelli | 2012-08-20 | 1 | -8/+16 |
| | |||||
* | Clarify comments | Tuncer Ayaz | 2012-08-12 | 1 | -1/+1 |
| | |||||
* | rebar_eunit: add tests= TODO item | Tuncer Ayaz | 2012-08-11 | 1 | -0/+1 |
| | |||||
* | Add experimental tests= filter for eunit suites | Roberto Ostinelli | 2012-08-11 | 1 | -26/+142 |
| | |||||
* | rebar_eunit: fix typo | Tuncer Ayaz | 2012-08-10 | 1 | -1/+1 |
| | |||||
* | Use separate dirs for eunit and qc | Tuncer Ayaz | 2012-08-09 | 1 | -17/+23 |
| | |||||
* | Separate eunit and qc compile options | Tuncer Ayaz | 2012-08-09 | 1 | -1/+1 |
| | |||||
* | Replace test-compile with compile_only=true option | Tuncer Ayaz | 2012-08-09 | 1 | -20/+18 |
| | |||||
* | Fix whitespace error | Tuncer Ayaz | 2012-08-07 | 1 | -1/+1 |
| | |||||
* | Use rebar_utils:test_dir/0 for coverdata export file | Tuncer Ayaz | 2012-08-07 | 1 | -3/+1 |
| | |||||
* | Enable export of cover data from eunit testrun | David Åberg | 2012-08-07 | 1 | -0/+19 |
| | |||||
* | Quote EUnit User's guide about _tests.beam handling | Tuncer Ayaz | 2012-07-31 | 1 | -0/+12 |
| | |||||
* | Add experimental notice to test-compile and shell | Tuncer Ayaz | 2012-07-31 | 1 | -0/+1 |
| | |||||
* | Fix R13B03 build (Reported-by: Sergey Nartimov) | Tuncer Ayaz | 2012-07-28 | 1 | -1/+1 |
| | |||||
* | Rename old eunit compile options for consistency with test-compile | Tuncer Ayaz | 2012-07-26 | 1 | -1/+1 |
| | |||||
* | Finalize app=, skip_app=, suite= deprecations | Tuncer Ayaz | 2012-07-23 | 1 | -2/+1 |
| | |||||
* | Add 'qc' cmd and rename eunit-compile to test-compile | Tuncer Ayaz | 2012-07-23 | 1 | -121/+21 |
| | |||||
* | Add 'eunit-compile' cmd (Suggested-by: Joe Norton) | Tuncer Ayaz | 2012-07-23 | 1 | -56/+77 |
| | |||||
* | Do not use application:set_env | Tuncer Ayaz | 2012-07-23 | 1 | -10/+11 |
| | |||||
* | Do not keep eunit config | Tuncer Ayaz | 2012-07-13 | 1 | -5/+5 |
| | |||||
* | Remove shared state | Tuncer Ayaz | 2012-07-13 | 1 | -25/+29 |
| | |||||
* | Remove debug log | Tuncer Ayaz | 2012-07-11 | 1 | -1/+0 |
| | |||||
* | Simplify eunit | Tuncer Ayaz | 2012-07-11 | 1 | -7/+7 |
| | |||||
* | Use filename:join | Tuncer Ayaz | 2012-07-11 | 1 | -3/+3 |
| | |||||
* | Fix rebar_eunit whitespace issues | Tuncer Ayaz | 2012-07-02 | 1 | -6/+5 |
| | |||||
* | Fix cover crash if src_dirs is not default | Motiejus Jakštys | 2012-07-02 | 1 | -2/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | Make sure files from erl_opts->src_dirs are copied to .eunit for cover inspection. Without this patch cover failed to find source files which were in src_dirs, and threw the following exception: ERROR: eunit failed while processing /path/to/project: {'EXIT',{{badmatch,{error,no_source_code_found}}, [{rebar_eunit,'-cover_analyze/3-fun-0-',1, [{file,"src/rebar_eunit.erl"},{line,280}]}, {lists,foreach,2,[{file,"lists.erl"},{line,1262}]}, {rebar_eunit,cover_analyze,3, [{file,"src/rebar_eunit.erl"},{line,279}]}, {rebar_eunit,eunit,2,[{file,"src/rebar_eunit.erl"},{line,140}]}, {rebar_core,run_modules,4,[{file,"src/rebar_core.erl"},{line,425}]}, {rebar_core,execute,5,[{file,"src/rebar_core.erl"},{line,359}]}, {rebar_core,process_dir0,6,[{file,"src/rebar_core.erl"},{line,223}]}, {rebar_core,process_dir,4, [{file,"src/rebar_core.erl"},{line,130}]}]}} Now all source files are copied to .eunit. | ||||
* | Fix #252 (Reported-by: Maxim-Vladimirsky) | Tuncer Ayaz | 2012-06-21 | 1 | -22/+16 |
| | |||||
* | Fix rebar_eunit comments | Tuncer Ayaz | 2012-06-18 | 1 | -1/+1 |
| | |||||
* | Remove ?FAIL in favor of ?ABORT | Dave Smith | 2012-06-08 | 1 | -1/+1 |
| | |||||
* | Fix for destruction of config app vars on reset | Jeremy Raymond | 2012-02-15 | 1 | -1/+36 |
| | |||||
* | Fix whitespace errors | Tuncer Ayaz | 2012-01-17 | 1 | -12/+13 |
| | |||||
* | Delete existing erl files in ?EUNIT_DIR | Francis Joanis | 2012-01-17 | 1 | -0/+21 |
| | | | | | | Before copying the .erl files to the .eunit directory ensure that they are deleted if they already exist. This prevents EACCES errors to happen when trying to re-copy .erl files that are read-only. | ||||
* | Don't kill any inet_gethost_native after eunit | Tomas Abrahamsson | 2011-12-29 | 1 | -1/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid error reports like this one: prompt$ rebar eunit ==> dummy (eunit) Test passed. =ERROR REPORT==== 29-Dec-2011::23:22:11 === ** Generic server inet_gethost_native_sup terminating ** Last message in was {'EXIT',<0.62.0>,killed} ** When Server state == {state,inet_gethost_native,undefined,<0.62.0>, {local,inet_gethost_native_sup}} ** Reason for termination == ** killed Previously, it could happen if an eunit test did something that required a name lookup, like in this example: -module(dummy_tests). -include_lib("eunit/include/eunit.hrl"). x_test() -> {ok, _Hostent} = inet:gethostbyname(localhost). The inet_gethost_native is a process, started on demand, under a supervisor_bridge under the kernel_sup, but it is not a gen_server process or the like, so it has nothing in '$ancestors' in its process dictionary to indicate it is part of kernel. | ||||
* | Universally support apps=/skip_apps= | Tuncer Ayaz | 2011-12-12 | 1 | -34/+1 |
| | |||||
* | Stop applications before killing extra processes | Klas Johansson | 2011-11-02 | 1 | -3/+4 |
| | | | | | | This means that applications get a chance to shut down themselves, before rebar will start killing their processes. This avoids ERROR REPORTS from application supervisors. | ||||
* | Remove modules that fail coverage from the list | Jon Meredith | 2011-10-14 | 1 | -4/+4 |
| | |||||
* | Fix cover_init call to use correct module list | Tuncer Ayaz | 2011-09-01 | 1 | -1/+1 |
| | |||||
* | Keep *_tests not automatically included by eunit | Joseph Wayne Norton | 2011-09-01 | 1 | -9/+16 |
| | |||||
* | Fix R13 compatibility (auto imported monitor/2) | Alfonso De Gregorio | 2011-08-28 | 1 | -1/+1 |
| | |||||
* | Fix Dialyzer warnings | Tuncer Ayaz | 2011-08-25 | 1 | -12/+12 |
| | |||||
* | Merge slf-eunit-process-isolation2 branch | Scott Lystig Fritchie | 2011-08-24 | 1 | -0/+148 |
|\ | |||||
| * | Check $ancestors for kernel OTP app processes to not kill | Scott Lystig Fritchie | 2011-08-24 | 1 | -9/+22 |
| | | |||||
| * | Add comments on pids not to kill | Scott Lystig Fritchie | 2011-08-23 | 1 | -0/+4 |
| | | |||||
| * | Portability via filename:join/1 | Scott Lystig Fritchie | 2011-08-23 | 1 | -2/+3 |
| | | |||||
| * | Replace sleep with pause_until_net_kernel_stopped() | Scott Lystig Fritchie | 2011-08-23 | 1 | -1/+17 |
| | | |||||
| * | EUnit: reset vm state after test run | Scott Lystig Fritchie | 2011-08-11 | 1 | -0/+114 |
| | | | | | | | | | | | | | | | | | | | | | | | | Added new property to `eunit_opts` option list: reset_after_eunit::boolean() - default = true. If true, try to "reset" VM state to approximate state prior to running the EUnit tests: * Stop net_kernel if it was started * Stop OTP applications not running before EUnit tests were run * Kill processes not running before EUnit tests were run * Reset OTP application environment variables | ||||
* | | Apply Tidier suggestions | Tuncer Ayaz | 2011-08-20 | 1 | -8/+8 |
|/ | |||||
* | Fix handling of {already_started,Pid} from cover:start | David Reid | 2011-08-10 | 1 | -2/+10 |
| | | | | | | | | Previous patch erroneously assumed that cover:start() returned {already_started,Pid} in the cases where cover was already started. We now turn {error,{already_started,Pid}} into {ok, Pid} and return {error, Reason} if we encounter an error we do not know about, this will cause a nice and violent badmatch to stop everything. | ||||
* | Redirect cover module output to .eunit/cover.log | David Reid | 2011-08-05 | 1 | -3/+22 |
| | | | | | | | | | The cover module calls io:format and io:fwrite directly for several types of informational messages and warnings. When using meck to mock covered modules these warnings are triggered and can cause severe polution of the test output. We can avoid this by starting cover explicitly then setting the group_leader of that process to a file handle. |