Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add experimental tests= filter for eunit suites | Roberto Ostinelli | 2012-08-11 | 1 | -0/+118 |
| | |||||
* | Use separate dirs for eunit and qc | Tuncer Ayaz | 2012-08-09 | 1 | -13/+13 |
| | |||||
* | Add 'qc' cmd and rename eunit-compile to test-compile | Tuncer Ayaz | 2012-07-23 | 1 | -13/+13 |
| | |||||
* | Fix test/rebar_eunit_tests.erl | Slava Yurin | 2012-06-29 | 1 | -6/+8 |
| | |||||
* | rebar_eunit_tests: avoid repetition | Tuncer Ayaz | 2011-08-07 | 1 | -2/+3 |
| | |||||
* | rebar_eunit_tests: check return values | Tuncer Ayaz | 2011-08-07 | 1 | -21/+15 |
| | |||||
* | Fix whitespace errors in unit tests | Tuncer Ayaz | 2011-08-05 | 1 | -16/+17 |
| | |||||
* | Clean up emacs file local variables | Tuncer Ayaz | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Fix file existence checks | Tuncer Ayaz | 2011-01-29 | 1 | -3/+3 |
| | |||||
* | Apply Tidier suggestions | Tuncer Ayaz | 2011-01-13 | 1 | -1/+1 |
| | |||||
* | Port rebar_eunit_tests to Windows | Juhani Rankimies | 2010-10-27 | 1 | -5/+12 |
| | |||||
* | Fix incorrect coverage count when prod modules include EUnit header. | Chris Bernard | 2010-05-15 | 1 | -2/+22 |
| | | | | | | | | 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. | ||||
* | Fixed 3 bugs in rebar_eunit. Added EUnit tests to capture them. | Chris Bernard | 2010-03-04 | 1 | -0/+229 |
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. |