Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add qualified name tests specification (see #118) | Sergey Savenko | 2014-05-29 | 1 | -68/+103 |
| | | | | | | | | | Augment 'tests' option of 'rebar eunit' command with ability to specify tests to run using module-qualified names. This change also forced me to change the way modules for coverage and for testing itself are selected - module-qualified tests specifications are now taken into consideration. Extend tests to cover new functionality. Update dialyzer_reference accordingly. | ||||
* | eunit: fix dialyzer warnings introduced in 03da5e0b | Tuncer Ayaz | 2014-02-20 | 1 | -1/+1 |
| | |||||
* | Add documentation | Andrew Thompson | 2014-02-07 | 1 | -0/+3 |
| | |||||
* | Add random_suite_order option to eunit command | Andrew Thompson | 2014-02-07 | 1 | -1/+28 |
| | | | | | | | | | Option takes either 'true' or a numeric seed value. If true is passed, a random seed is generated and used. The numeric seed value is for repeatability. The idea here is to root out test suites that are order dependant, or that fail in the presence of certain orderings. | ||||
* | allow suite[s] or test[s] as options for eunit and ct | Andrew J. Stone | 2014-02-05 | 1 | -4/+20 |
| | |||||
* | Merge pull request #215 from tuncer/experimental | Jared Morrow | 2014-01-16 | 1 | -3/+2 |
|\ | | | | | Remove experimental flags | ||||
| * | Remove experimental flags | Tuncer Ayaz | 2014-01-14 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | Remove experimental flag from: * qc compile_only=true * eunit compile_only=true * src/foo.app.src.script * eunit tests= | ||||
* | | Document compile_only=true | Tuncer Ayaz | 2014-01-14 | 1 | -1/+2 |
|/ | |||||
* | Fix is_verbose/1 helper function | Tuncer Ayaz | 2013-12-06 | 1 | -1/+1 |
| | |||||
* | Fix eunit regression introduced in 2716d83a18 | Tuncer Ayaz | 2013-09-20 | 1 | -6/+6 |
| | | | | | Use alternative way to detect net_kernel:stop/0 has succeeded as suggested by Ulf Wiger. | ||||
* | Merge pull request #41 from exterm/cover_html_validity | Dave Smith | 2013-06-25 | 1 | -2/+5 |
|\ | | | | | change cover html generation to produce valid html | ||||
| * | remove superfluous string concat operator usage | Philip Mueller | 2013-06-16 | 1 | -3/+3 |
| | | |||||
| * | break overlong line | Philip Mueller | 2013-01-30 | 1 | -1/+2 |
| | | |||||
| * | change cover html generation to produce valid html | Philip Mueller | 2012-12-12 | 1 | -2/+4 |
| | | | | | | | | | | | | - added missing doctype - added encoding statement - removed invalid additional opening <body> tag | ||||
* | | Merge pull request #47 from uwiger/master | Dave Smith | 2013-06-17 | 1 | -1/+2 |
|\ \ | | | | | | | rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications' | ||||
| * | | rebar_eunit:reset_after_eunit/1 mustn't remove 'included_applications' | Ulf Wiger | 2012-12-16 | 1 | -1/+2 |
| |/ | | | | | | | | | | | | | | | | | | | | | | | One could argue that rebar_eunit does some pretty dangerous stuff when trying to clean up after a test run, but specifically, it tells the Application Controller to delete everything returned by application:get_all_env(App). Unfortunately, included_applications also goes, which can lead to a crash in application_controller, if the application is subsequently unloaded. This patch attempts the smallest possible fix: remove all env variables except included_applications. | ||||
* | | Merge pull request #24 from legoscia/master | Dave Smith | 2013-06-16 | 1 | -1/+1 |
|\ \ | | | | | | | Allow specifying eunit suite run order in 'suites' | ||||
| * | | Run eunit suites in the order specified in the 'suites' command line parameter | Magnus Henoch | 2012-11-20 | 1 | -1/+1 |
| |/ | | | | | | | | | | | | | | | | | Normally, Rebar runs eunit tests in the order the beam files are stored in the file system (see rebar_utils:beams). However, sometimes it is desirable to run the tests in a different order (e.g. to reproduce an error found on a build server). For that case, it would make sense to use the 'suites' parameter not just for selecting which modules to consider, but also for choosing the order. | ||||
* | | Implement 'rebar help CMD1 CMD2' and extend common 'rebar help' msg | Tuncer Ayaz | 2012-12-31 | 1 | -1/+38 |
| | | | | | | | | | | * allow plugins to print help message for implemented commands * append core rebar.config options to common 'rebar help' message | ||||
* | | Fix basho/rebar/issues/286 | Tuncer Ayaz | 2012-12-17 | 1 | -1/+0 |
|/ | |||||
* | eunit: analyze coverage only for cover compiled modules | Shunichi Shinohara | 2012-09-13 | 1 | -1/+3 |
| | | | | This change fixes #310. | ||||
* | Use R15B02 EUnit {test,M,F} primitive as suggested by Richard Carlsson | Tuncer Ayaz | 2012-09-06 | 1 | -14/+20 |
| | |||||
* | Comment eunit_test:function_wrapper/2 TODO | Tuncer Ayaz | 2012-09-01 | 1 | -0/+1 |
| | |||||
* | rebar_eunit: adapt to R15B02 changes | Tuncer Ayaz | 2012-08-31 | 1 | -6/+13 |
| | |||||
* | Stop cover server between eunit runs for speed | Markus Näsman | 2012-08-30 | 1 | -13/+14 |
| | | | | | | | | | | | Cover gets slower and slower for each application. This is due to the cover_server internal state. Stopping the cover server between eunit+cover runs, emptying the cover_server state, gives a ~5-6x speed improvement when analyzing many Erlang modules. Stopping the cover server replaces the earlier practice of doing a cover:reset before each run. On a project consisting of 62 dependencies with a total of 1866 Erlang modules the running time of rebar eunit decreased from ~20 minutes to ~3 minutes. | ||||
* | Fix whitespace error in rebar_eunit | Tuncer Ayaz | 2012-08-22 | 1 | -1/+2 |
| | |||||
* | Fix whitespace errors in rebar_ct and rebar_eunit | Tuncer Ayaz | 2012-08-22 | 1 | -1/+1 |
| | |||||
* | Cleanup and comment | Tuncer Ayaz | 2012-08-20 | 1 | -49/+84 |
| | |||||
* | 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 |
| |