summaryrefslogtreecommitdiff
path: root/src/rebar_eunit.erl
Commit message (Collapse)AuthorAgeFilesLines
* Add documentationAndrew Thompson2014-02-071-0/+3
|
* Add random_suite_order option to eunit commandAndrew Thompson2014-02-071-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 ctAndrew J. Stone2014-02-051-4/+20
|
* Merge pull request #215 from tuncer/experimentalJared Morrow2014-01-161-3/+2
|\ | | | | Remove experimental flags
| * Remove experimental flagsTuncer Ayaz2014-01-141-3/+2
| | | | | | | | | | | | | | | | Remove experimental flag from: * qc compile_only=true * eunit compile_only=true * src/foo.app.src.script * eunit tests=
* | Document compile_only=trueTuncer Ayaz2014-01-141-1/+2
|/
* Fix is_verbose/1 helper functionTuncer Ayaz2013-12-061-1/+1
|
* Fix eunit regression introduced in 2716d83a18Tuncer Ayaz2013-09-201-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_validityDave Smith2013-06-251-2/+5
|\ | | | | change cover html generation to produce valid html
| * remove superfluous string concat operator usagePhilip Mueller2013-06-161-3/+3
| |
| * break overlong linePhilip Mueller2013-01-301-1/+2
| |
| * change cover html generation to produce valid htmlPhilip Mueller2012-12-121-2/+4
| | | | | | | | | | | | - added missing doctype - added encoding statement - removed invalid additional opening <body> tag
* | Merge pull request #47 from uwiger/masterDave Smith2013-06-171-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 Wiger2012-12-161-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/masterDave Smith2013-06-161-1/+1
|\ \ | | | | | | Allow specifying eunit suite run order in 'suites'
| * | Run eunit suites in the order specified in the 'suites' command line parameterMagnus Henoch2012-11-201-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' msgTuncer Ayaz2012-12-311-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/286Tuncer Ayaz2012-12-171-1/+0
|/
* eunit: analyze coverage only for cover compiled modulesShunichi Shinohara2012-09-131-1/+3
| | | | This change fixes #310.
* Use R15B02 EUnit {test,M,F} primitive as suggested by Richard CarlssonTuncer Ayaz2012-09-061-14/+20
|
* Comment eunit_test:function_wrapper/2 TODOTuncer Ayaz2012-09-011-0/+1
|
* rebar_eunit: adapt to R15B02 changesTuncer Ayaz2012-08-311-6/+13
|
* Stop cover server between eunit runs for speedMarkus Näsman2012-08-301-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_eunitTuncer Ayaz2012-08-221-1/+2
|
* Fix whitespace errors in rebar_ct and rebar_eunitTuncer Ayaz2012-08-221-1/+1
|
* Cleanup and commentTuncer Ayaz2012-08-201-49/+84
|
* Fix tests= option not running generator testsRoberto Ostinelli2012-08-201-2/+11
|
* Add experimental tests= filter without eunit suitesRoberto Ostinelli2012-08-201-8/+16
|
* Clarify commentsTuncer Ayaz2012-08-121-1/+1
|
* rebar_eunit: add tests= TODO itemTuncer Ayaz2012-08-111-0/+1
|
* Add experimental tests= filter for eunit suitesRoberto Ostinelli2012-08-111-26/+142
|
* rebar_eunit: fix typoTuncer Ayaz2012-08-101-1/+1
|
* Use separate dirs for eunit and qcTuncer Ayaz2012-08-091-17/+23
|
* Separate eunit and qc compile optionsTuncer Ayaz2012-08-091-1/+1
|
* Replace test-compile with compile_only=true optionTuncer Ayaz2012-08-091-20/+18
|
* Fix whitespace errorTuncer Ayaz2012-08-071-1/+1
|
* Use rebar_utils:test_dir/0 for coverdata export fileTuncer Ayaz2012-08-071-3/+1
|
* Enable export of cover data from eunit testrunDavid Åberg2012-08-071-0/+19
|
* Quote EUnit User's guide about _tests.beam handlingTuncer Ayaz2012-07-311-0/+12
|
* Add experimental notice to test-compile and shellTuncer Ayaz2012-07-311-0/+1
|
* Fix R13B03 build (Reported-by: Sergey Nartimov)Tuncer Ayaz2012-07-281-1/+1
|
* Rename old eunit compile options for consistency with test-compileTuncer Ayaz2012-07-261-1/+1
|
* Finalize app=, skip_app=, suite= deprecationsTuncer Ayaz2012-07-231-2/+1
|
* Add 'qc' cmd and rename eunit-compile to test-compileTuncer Ayaz2012-07-231-121/+21
|
* Add 'eunit-compile' cmd (Suggested-by: Joe Norton)Tuncer Ayaz2012-07-231-56/+77
|
* Do not use application:set_envTuncer Ayaz2012-07-231-10/+11
|
* Do not keep eunit configTuncer Ayaz2012-07-131-5/+5
|
* Remove shared stateTuncer Ayaz2012-07-131-25/+29
|
* Remove debug logTuncer Ayaz2012-07-111-1/+0
|
* Simplify eunitTuncer Ayaz2012-07-111-7/+7
|