Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix regression (thanks Anthony Molinaro) | Tuncer Ayaz | 2011-03-07 | 1 | -4/+5 | |
| | ||||||
* | Add PropEr support | Tuncer Ayaz | 2011-02-16 | 1 | -17/+24 | |
| | ||||||
* | Remove export_all directive | Tuncer Ayaz | 2011-02-13 | 1 | -3/+2 | |
| | ||||||
* | Add eunit_first_files option | Joseph Wayne Norton | 2011-02-13 | 1 | -1/+4 | |
| | ||||||
* | Clean up code | Tuncer Ayaz | 2011-02-06 | 1 | -26/+40 | |
| | ||||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 | |
| | ||||||
* | Fix file existence checks | Tuncer Ayaz | 2011-01-13 | 1 | -1/+1 | |
| | ||||||
* | Tidier improvements | Kostis Sagonas | 2010-10-26 | 1 | -5/+4 | |
| | ||||||
* | Use eunit_dir() instead of ?EUNIT_DIR since the function exists. | Oscar Hellström | 2010-08-24 | 1 | -1/+1 | |
| | | | | The eunit_dir() does use the ?EUNIT_DIR macro internally, but it also builds, what I guess is, an absolute path, which might be better :) At least it's more consistent. | |||||
* | Make sure *both* .eunit and ebin directory exists before setting up the code ↵ | Oscar Hellström | 2010-08-24 | 1 | -1/+2 | |
| | | | | | | path. Normally the ebin directory doesn't contain any source files. Therefore it won't be kept in the repository by, at least, mercurial and also maybe git unless you put some .keep file in it or do some other hack. The ebin directory is created by rebar compile, but if rebar eunit is called before rebar compile, you end up with a {'EXIT', {{badmatch,{error,bad_directory}},...}. Another approach would be not to match cod:add_pathz(ebin_dir()) with ok, but I think this is an ok solution as well. | |||||
* | Dialyzer related cleanups | Kostis Sagonas | 2010-10-10 | 1 | -15/+20 | |
| | ||||||
* | Add optional eunit coverage report to terminal | Andrew Thompson | 2010-10-06 | 1 | -2/+32 | |
| | | | | | | Add a coverage report similar to the one output to index.html except that it is output to the terminal if the new rebar.conf option 'cover_print_enabled' is set to true. | |||||
* | Fix dialyzer warning for call to code:which/1 | Tuncer Ayaz | 2010-09-29 | 1 | -1/+2 | |
| | ||||||
* | beam_lib:chunks needs abs path to beam. | Russell Brown | 2010-07-04 | 1 | -1/+8 | |
| | | | | Uses code:which or cover:is_compiled to get path the beam for chunks | |||||
* | Fix up code path for eunit so that parse transforms in eunit tests work properly | Dave Smith | 2010-06-28 | 1 | -29/+24 | |
| | ||||||
* | Only skip eunit on apps IIF the app= parameter is specified | Dave Smith | 2010-06-25 | 1 | -7/+14 | |
| | | | | | --HG-- extra : rebase_source : 2f2b819e209a912424c328dd57ec5e00268d40bc | |||||
* | Correct typo | Tuncer Ayaz | 2010-06-23 | 1 | -2/+2 | |
| | ||||||
* | Change console message to debug message (more appropriate) | Dave Smith | 2010-06-22 | 1 | -1/+1 | |
| | ||||||
* | Adding support for restricting eunit to a specific application | Dave Smith | 2010-06-22 | 1 | -1/+13 | |
| | ||||||
* | Fix incorrect coverage count when prod modules include EUnit header. | Chris Bernard | 2010-05-15 | 1 | -1/+31 | |
| | | | | | | | | Modules that include the EUnit header get an implicit test/0 fun, which cover considers a runnable line, but eunit:(TestRepresentation) never calls. Result: prod modules with tests can never reach 100% coverage. Ironic. In this case, fix it by decrementing the NotCovered counter returned by cover:analyze/3. | |||||
* | Taught eunit/coverage to split the src module coverage stats from any test code. | Jon Meredith | 2010-05-03 | 1 | -19/+32 | |
| | ||||||
* | Copy all source files for eunit to .eunit directory so that cover works ↵ | Dave Smith | 2010-05-03 | 1 | -1/+1 | |
| | | | | properly (ick!) | |||||
* | Copy src files to .eunit so that cover can always find them | Jeremy Raymond | 2010-04-22 | 1 | -0/+6 | |
| | ||||||
* | Merging w/ mainline | Dave Smith | 2010-04-23 | 1 | -3/+2 | |
|\ | ||||||
| * | Reuse rebar_utils:get_cwd/0 | Tuncer Ayaz | 2010-04-21 | 1 | -2/+1 | |
|/ | ||||||
* | Make sure to add .eunit as an absolute directory so that we avoid weirdness ↵ | Dave Smith | 2010-04-16 | 1 | -1/+5 | |
| | | | | with code loading stuffs. | |||||
* | 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 | |