summaryrefslogtreecommitdiff
path: root/src/rebar_prv_eunit.erl
Commit message (Collapse)AuthorAgeFilesLines
* add space before end so eyes don't bleedTristan Sloughter2015-11-131-1/+1
|
* include Sean Cribbs eunit formatter by defaultTristan Sloughter2015-11-131-3/+14
|
* add an option to soft purge rather than purge old codealisdair sullivan2015-11-011-1/+1
| | | | | at the cost of some SASL warnings this prevents rebar3 from terminating processes when reloading their code before running tests
* Merge pull request #895 from talentdeficit/delay_eunit_validationFred Hebert2015-11-011-23/+24
|\ | | | | delay validation of eunit tests until just before running
| * delay validation of eunit tests until just before runningalisdair sullivan2015-10-301-23/+24
| |
* | move test profile bootstrap into corealisdair sullivan2015-10-301-20/+1
|/
* remove unnecessary filtering of checkapps from project apps in `rebar_prv_eunit`alisdair sullivan2015-10-261-16/+4
|
* restore debug calls to `rebar_erlc_compiler` and `rebar_prv_eunit`alisdair sullivan2015-10-261-2/+2
|
* refactor `rebar_erlc_compiler`alisdair sullivan2015-10-261-65/+102
| | | | | | | | | | | | | | | | | | | * modify compiler interface to work on either application objects or directories containing source files * compile all sources in `src_dirs` to the application `ebin` dir and all sources in `extra_src_dirs` to a directory mirroring it's position in the app's `_build` directory. for example, `apps/foo/more` would compile to `_build/default/lib/foo/more` for `extra_src_dirs` in the root of a project with multiple applications (so orphan directories that don't "belong" to an application) compile to `_build/default/extras/more` * copy directories specified in `extra_src_dirs` into the `_build` directory so tools like `ct` and `xref` that expect source to be in a particular location still work * clean compiled artifacts from all `extra_src_dirs` * alter `eunit`, `ct` and `cover` to work with the new directory structure * billions of new tests
* fix failing cover testalisdair sullivan2015-09-291-6/+27
|
* shiny and new test suite for eunit provideralisdair sullivan2015-09-291-107/+124
|
* inject `eunit_compile_opts`, `eunit_first_files` and `TEST` macroalisdair sullivan2015-09-291-11/+36
| | | | prior to running compile and compile prehooks
* Revert "drop `eunit_first_files' and `eunit_compile_opts'. that's what"alisdair sullivan2015-09-291-2/+23
| | | | This reverts commit dde60d491f64e8545c586d07015a466eb8e6e126.
* drop `eunit_first_files' and `eunit_compile_opts'. that's whatalisdair sullivan2015-09-291-23/+2
| | | | profiles are for
* add `application' flag and additional testsalisdair sullivan2015-09-291-8/+9
|
* add `error_on_warning' option to eunit provideralisdair sullivan2015-09-291-22/+51
|
* reworked eunit provider to allow access to full range of eunit testsalisdair sullivan2015-09-291-92/+97
|
* improve `--help' documentation for eunit provideralisdair sullivan2015-08-161-5/+5
|
* add support for `rebar3 eunit --file=...'alisdair sullivan2015-08-151-3/+29
|
* Revert "don't add `{extra_src_dirs, ["test"]}` to `test` profile"alisdair sullivan2015-07-121-42/+20
| | | | This reverts commit b06a6ecaddfc6fea16f3c24881fd41ac731ffa9e.
* Merge pull request #487 from ferd/fix-provider-barenessTristan Sloughter2015-05-301-1/+1
|\ | | | | fix bareness issues
| * fix bareness issuesFred Hebert2015-05-311-1/+1
| | | | | | | | | | | | - Crashes in providers lib when no providers in a namespace are bare - Making sure bareness matches semantics; i.e. a bare provider is visible, a non-bare provider is hidden.
* | move handling of undefined app state to functionTristan Sloughter2015-05-221-8/+1
|/
* don't add `{extra_src_dirs, ["test"]}` to `test` profilealisdair sullivan2015-05-201-20/+49
| | | | | | adding it results in ct test suites being compiled before they're properly copied so changes made to suites between runs are not reflected if a run fails before test dirs are copied
* purge loaded code when it conflicts with project apps in testsTristan Sloughter2015-05-181-2/+3
|
* generalize the "test" special dir into an {extra_src_dirs, [...]} optionalisdair sullivan2015-05-161-41/+20
| | | | | | like `src_dirs`, `extra_src_dirs` are directories to be copied to the `_build` dir and compiled. unlike `src_dirs` they are not added to the .app specification
* real bootstrappingTristan Sloughter2015-04-221-1/+1
|
* track and cleanup code paths for different contextsTristan Sloughter2015-04-211-0/+4
|
* rm old beams, make erlcinfo graph per app isntad of global to projectTristan Sloughter2015-04-101-4/+8
|
* Merge pull request #320 from tsloughter/dep_pluginsFred Hebert2015-04-051-3/+12
|\ | | | | install dep plugins & run provider hooks the same as shell hooks (Rereopen 316)
| * fix eunit commentTristan Sloughter2015-04-051-2/+2
| |
| * fixes from bad rebase against masterTristan Sloughter2015-04-041-1/+1
| |
| * support provider hooks on ct and eunitTristan Sloughter2015-04-041-3/+12
| |
* | Provide descriptions for all tasksFred Hebert2015-04-041-1/+1
|/
* split function setting test set for clarityalisdair sullivan2015-03-241-7/+10
|
* filter checkapps via `rebar_app_info:is_checkout` rather thanalisdair sullivan2015-03-241-4/+2
| | | | matching directory paths
* add `--app=...` and `--suite=...` options for the eunit provider toalisdair sullivan2015-03-241-74/+145
| | | | run subsets of test suites
* use PRV_ERROR for formattable errorsFred Hebert2015-03-161-1/+2
| | | | Also expose it in rebar_api
* symlink extra test dirs and compile from there instead of fromalisdair sullivan2015-03-081-5/+12
| | | | root project
* compile source from the symlinked directories under `_build` toalisdair sullivan2015-03-081-2/+1
| | | | get correct compile paths included in module info
* update all examples in providers to use rebar3Tristan Sloughter2015-03-071-1/+1
|
* preserve state when compiling directories with a `rebar.config`alisdair sullivan2015-03-041-5/+4
|
* generate cover data (via the `{cover_enabled, true}` option inalisdair sullivan2015-03-031-1/+12
| | | | | | `rebar.config` or via the `-c\--cover` flag given to the appropriate task) from the `eunit` and `ct` tasks and add a `cover` task to write coverage analysis to disk
* modify `ct` and `eunit` to work with isolated `ebin` dirsalisdair sullivan2015-03-021-80/+64
|
* copy project apps to deps output dir for compilationTristan Sloughter2015-02-281-2/+3
|
* don't lose erl_opts when compiling for testsTristan Sloughter2015-01-231-5/+5
|
* use new `rebar_file_utils` functions in `eunit` and `ct` providersalisdair sullivan2015-01-161-10/+2
|
* change more instances of mistyped `erl_first_modules` toalisdair sullivan2015-01-151-1/+1
| | | | | | `erl_first_files` fixes #99
* replace single profile atom in providers with list of profilesTristan Sloughter2015-01-111-2/+1
|
* when compiling `common_test` or `eunit` use the same tmp diralisdair sullivan2015-01-091-5/+17
| | | | from run to run