Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | put `extra' ct test suites in `extras/apps/APPNAME' rather than `extras' | alisdair sullivan | 2015-12-20 | 1 | -1/+2 |
| | | | | this allows repeated test suite names across apps without conflicts | ||||
* | allow ct suites to be specified at the root of a project (or root of app) | alisdair sullivan | 2015-12-20 | 1 | -2/+27 |
| | | | | | | | | previously rebar3 dropped suites declared at the root of the project (via `--suite=whatever_SUITE' probably) and warned. this was because the compiler would recursively copy and compile everything in the directory indicated by the test suite. this changes the copy mechanism to only copy erl source files and directories that end with `_SUITE_data' into the `extras' dir in `_build' | ||||
* | whitespace cleanup | alisdair sullivan | 2015-12-20 | 1 | -1/+1 |
| | |||||
* | error on ct/eunit argument errors instead of warning | alisdair sullivan | 2015-11-15 | 1 | -42/+71 |
| | |||||
* | warn on incorrectly specified test options in `rebar.config` | alisdair sullivan | 2015-11-14 | 1 | -6/+21 |
| | | | | | | | when `ct_opts`, `eunit_tests`, `eunit_first_files`, `ct_first_files`, `erl_first_files`, `eunit_compile_opts`, `ct_compile_opts` and `erl_opts` have values that are single non-list terms warn and try wrapping them in a list when processing them in the `eunit` and `ct` providers | ||||
* | Optionally disable readable output | Fred Hebert | 2015-11-13 | 1 | -10/+26 |
| | |||||
* | Prettify all of common test output. | Fred Hebert | 2015-11-13 | 1 | -2/+19 |
| | | | | | | | | | | This uses cth_readable to: - silence error_logger output to the shell unless a test fails - silence ct:pal output to the shell unless a test fails I have currently not baked in any way to disable this behaviour, but I figured if it is required, there is time to do it before the final 3.0.0 release. | ||||
* | calculate coverage info as late as possible in ct provider execution | alisdair sullivan | 2015-11-05 | 1 | -3/+4 |
| | |||||
* | add warning about `auto_compile` | alisdair sullivan | 2015-11-02 | 1 | -3/+10 |
| | |||||
* | reenable support for most command line options and rename `ct_tests` to ↵ | alisdair sullivan | 2015-11-01 | 1 | -8/+35 |
| | | | | `ct_opts` | ||||
* | support atom suites in `ct_tests` | alisdair sullivan | 2015-11-01 | 1 | -17/+29 |
| | |||||
* | refactor `rebar_prv_common_test` | alisdair sullivan | 2015-11-01 | 1 | -373/+311 |
| | | | | | | | | * remove partial support for ct `test_spec` until it can be done properly and warn if `test_spec` is present in test opts * use new compiler functionality to reduce complexity of provider * reduce command line options available to those that can be supported properly | ||||
* | add an option to soft purge rather than purge old code | alisdair sullivan | 2015-11-01 | 1 | -1/+1 |
| | | | | | at the cost of some SASL warnings this prevents rebar3 from terminating processes when reloading their code before running tests | ||||
* | refactor `rebar_erlc_compiler` | alisdair sullivan | 2015-10-26 | 1 | -43/+1 |
| | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | cover compile beams compiled for ct/eunit seperately from beams compiled ↵ | alisdair sullivan | 2015-09-11 | 1 | -0/+1 |
| | | | | | | otherwise fixes #788 | ||||
* | fix run_all_hooks call for ct provider, no need to pass appinfo | Tristan Sloughter | 2015-09-08 | 1 | -2/+2 |
| | |||||
* | Merge pull request #769 from surik/cover_spec_option | Fred Hebert | 2015-09-05 | 1 | -0/+2 |
|\ | | | | | Fix cover_spec options for ct | ||||
| * | Fix cover_spec options for ct | Yury Gargay | 2015-09-03 | 1 | -0/+2 |
| | | |||||
* | | wip: move state into app_info | Tristan Sloughter | 2015-08-31 | 1 | -3/+3 |
|/ | |||||
* | symlink ct test dirs rather than copy | alisdair sullivan | 2015-08-26 | 1 | -2/+4 |
| | |||||
* | use correct rebar_state for a dep, not the top level state | Tristan Sloughter | 2015-08-16 | 1 | -4/+4 |
| | |||||
* | Merge pull request #489 from kovyl2404/windows-ct-fix | Tristan Sloughter | 2015-06-27 | 1 | -13/+16 |
|\ | | | | | Make test on windows green. | ||||
| * | Rewrite code around remove_links/1 to make it clearer | Viacheslav V. Kovalev | 2015-06-27 | 1 | -7/+5 |
| | | |||||
| * | Fix windows-related issues | Viacheslav V. Kovalev | 2015-06-26 | 1 | -10/+15 |
| | | |||||
* | | add an (almost) unique reference to message sent from the ct provider | alisdair sullivan | 2015-06-26 | 1 | -5/+7 |
|/ | | | | | | to itself so a selective receive can be used to retrieve it fixes #547 | ||||
* | ensure all `src_dirs` and `extra_src_dirs` are handled properly | alisdair sullivan | 2015-06-13 | 1 | -9/+11 |
| | | | | | | when running `ct` tests fixes #513 | ||||
* | fix bareness issues | Fred Hebert | 2015-05-31 | 1 | -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. | ||||
* | don't add `{extra_src_dirs, ["test"]}` to `test` profile | alisdair sullivan | 2015-05-20 | 1 | -2/+5 |
| | | | | | | 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 | ||||
* | Merge pull request #442 from tsloughter/tests_replace_paths | Tristan Sloughter | 2015-05-20 | 1 | -2/+2 |
|\ | | | | | purge loaded code when it conflicts with project apps in tests | ||||
| * | purge loaded code when it conflicts with project apps in tests | Tristan Sloughter | 2015-05-18 | 1 | -2/+2 |
| | | |||||
* | | install plugins from the global config to ~/.cache/plugins | Tristan Sloughter | 2015-05-17 | 1 | -1/+1 |
|/ | |||||
* | when compiling ct dirs base compiler input dir on project root | alisdair sullivan | 2015-05-12 | 1 | -1/+1 |
| | | | | | | rather than profile root fixes #415 | ||||
* | Merge pull request #409 from talentdeficit/ct_fix | Tristan Sloughter | 2015-05-09 | 1 | -10/+32 |
|\ | | | | | delete all symlinks when copying from project files to `_build` tree to prevent any data from being overwritten | ||||
| * | delete all symlinks when copying from project files to `_build` tree | alisdair sullivan | 2015-05-09 | 1 | -10/+32 |
| | | | | | | | | | | | | to prevent any data from being overwritten fixes #395 | ||||
* | | fix tracking of all profiles dep paths | Tristan Sloughter | 2015-04-22 | 1 | -1/+0 |
| | | |||||
* | | real bootstrapping | Tristan Sloughter | 2015-04-22 | 1 | -1/+1 |
| | | |||||
* | | track and cleanup code paths for different contexts | Tristan Sloughter | 2015-04-21 | 1 | -0/+6 |
| | | |||||
* | | ct: compile tests from test dir to outdir instead of compiling copies | Tristan Sloughter | 2015-04-17 | 1 | -6/+6 |
|/ | |||||
* | Improve error handling in ct provider | James Fish | 2015-04-12 | 1 | -18/+23 |
| | |||||
* | disallow suites in project root | alisdair sullivan | 2015-04-11 | 1 | -0/+6 |
| | | | | fixes #331 | ||||
* | Merge pull request #320 from tsloughter/dep_plugins | Fred Hebert | 2015-04-05 | 1 | -3/+13 |
|\ | | | | | install dep plugins & run provider hooks the same as shell hooks (Rereopen 316) | ||||
| * | fixes from bad rebase against master | Tristan Sloughter | 2015-04-04 | 1 | -2/+2 |
| | | |||||
| * | support provider hooks on ct and eunit | Tristan Sloughter | 2015-04-04 | 1 | -4/+14 |
| | | |||||
* | | Provide descriptions for all tasks | Fred Hebert | 2015-04-04 | 1 | -2/+2 |
|/ | |||||
* | modify `ct` provider to copy selected directories and compile them | alisdair sullivan | 2015-04-03 | 1 | -263/+339 |
| | | | | | | alongside their source (ie, if `some_tests` is a directory that contains test suites beams resulting from compiling them will be placed in `some_tests` in the appropriate `_build` directory | ||||
* | use PRV_ERROR for formattable errors | Fred Hebert | 2015-03-16 | 1 | -1/+2 |
| | | | | Also expose it in rebar_api | ||||
* | symlink extra test dirs and compile from there instead of from | alisdair sullivan | 2015-03-08 | 1 | -14/+23 |
| | | | | root project | ||||
* | compile source from the symlinked directories under `_build` to | alisdair sullivan | 2015-03-08 | 1 | -2/+1 |
| | | | | get correct compile paths included in module info | ||||
* | update all examples in providers to use rebar3 | Tristan Sloughter | 2015-03-07 | 1 | -2/+2 |
| | |||||
* | Fix handling of ct results | James Fish | 2015-03-05 | 1 | -23/+51 |
| | | | | | | * Return error on failed and/or auto skipped tests * Print all results for quiet repeated tests * Sum results of repeated tests |