Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them. | Chris Bernard | 2010-03-04 | 1 | -10/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | 1. When running the eunit command with the convention of putting tests in "*_tests" modules, eunit would run those tests twice. This is because: 1) eunit:test/1 will naturally look for foo's tests both in foo, and in foo_tests, and 2) eunit:test/1 was being folded over all project modules. The fix is to filter "*_tests" modules from the list passed to eunit:test/1. 2. When running the eunit command with cover enabled and tests in a 'test' directory, cover would error because it couldn't find the source code for those tests. This is because cover:analyze/3 will only find module source in "." and "../src". This is hard-coded in cover :-(. Since cover shouldn't be calculating code coverage on test code anyway, the fix is to not fold cover:analyze/3 over non-production code. 3. When running the eunit command with cover enabled and a test suite defined, cover would only attempt to calculate coverage on the the test suite itself. This was because only the suite was passed to cover:analyze/3. The fix is to fold cover:analyze/3 over all the production code, filtering out the suite module if it is defined. | ||||
* | Refactor eunit and cover | theiw | 2010-02-19 | 1 | -106/+93 |
| | |||||
* | Merging with OJ's branch | Dave Smith | 2010-02-13 | 1 | -3/+36 |
|\ | |||||
| * | Added support for the speficiation of test suite names | OJ Reeves | 2010-02-03 | 1 | -4/+35 |
| | | | | | | | | | | | | | | eg. rebar eunit -- runs all tests in all modules rebar eunit suite=foo -- only runs tests in foo.erl/foo_tests.erl Added an entry to .hgignore to avoid .swp files (created by VIM). | ||||
* | | Provide package support for eunit; build_plt now includes listed ↵ | theiw | 2010-02-05 | 1 | -12/+17 |
|/ | | | | applications; begin including -spec annotations | ||||
* | [mq]: eunit-fix | OJ Reeves | 2010-01-09 | 1 | -1/+1 |
| | |||||
* | Another round of refactoring to yield better flexiblity in the base_compiler ↵ | Dave Smith | 2010-01-03 | 1 | -15/+6 |
| | | | | system | ||||
* | Refactor of compilation logic to enable support for package modules and ↵ | Dave Smith | 2010-01-02 | 1 | -5/+10 |
| | | | | provide better modularity/reusability for other systems | ||||
* | Added vi modeline/emacs local variables to file headers | Tuncer Ayaz | 2009-12-31 | 1 | -0/+2 |
| | |||||
* | Deleted trailing whitespace | Tuncer Ayaz | 2009-12-30 | 1 | -11/+11 |
| | |||||
* | add hrl-triggered recompiling to 'eunit' build as well | Bryan Fink | 2009-12-21 | 1 | -1/+1 |
| | |||||
* | recompile files if their "includes" have changed | Bryan Fink | 2009-12-21 | 1 | -1/+1 |
| | | | | added parameter to do_compile for passing a function that can extra the list of includes from a file | ||||
* | Run eunit in .eunit dir to ensure any created/temporary files are created there | Dave Smith | 2009-12-14 | 1 | -0/+8 |
| | |||||
* | Fixing number of warnings and buglets | Dave Smith | 2009-12-14 | 1 | -6/+6 |
| | |||||
* | Add support for coverage generation | Dave Smith | 2009-12-09 | 1 | -2/+103 |
| | |||||
* | Remove unnecessary debug in _core; adding EQC flag for eunit builds | Dave Smith | 2009-12-08 | 1 | -2/+24 |
| | |||||
* | Refactoring eunit to support in-module tests | Dave Smith | 2009-12-07 | 1 | -79/+44 |
| | |||||
* | Added support for eunit tests as test/*_tests.erl | Jon Meredith | 2009-12-05 | 1 | -0/+141 |