Tristan Sloughter
87d9edc537
add space before end so eyes don't bleed
9 år sedan
Tristan Sloughter
bca4d40703
include Sean Cribbs eunit formatter by default
9 år sedan
Fred Hebert
0b01c9fcf7
Merge pull request #917 from ferd/ct-readable
Prettify all of common test output.
9 år sedan
Fred Hebert
b9c15df873
Optionally disable readable output
9 år sedan
Fred Hebert
d4981b7913
Add cth_readable to dep list
9 år sedan
Fred Hebert
2cb1aca685
Work in R15
9 år sedan
Fred Hebert
d31e663a67
Prettify all of common test output.
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.
9 år sedan
Fred Hebert
5383e5fb94
Merge pull request #915 from tsloughter/typo
fix typo of guarantee. h/t evan
9 år sedan
Tristan Sloughter
9184a42ef3
fix typo of guarantee. h/t evan
9 år sedan
Fred Hebert
b137a070df
Merge pull request #912 from tsloughter/mib_first_files
do not sort mib_first_files during merge_opts, order must be kept
9 år sedan
Tristan Sloughter
d2cd2710b1
do not sort mib_first_files during merge_opts, order must be kept
9 år sedan
Fred Hebert
6090bf8430
Merge pull request #911 from tsloughter/relx_3.8.0
upgrade relx to 3.8.0, fixes bug in upgrade_install escript
9 år sedan
Tristan Sloughter
6f673c592e
upgrade relx to 3.8.0, fixes bug in upgrade_install escript
9 år sedan
Tristan Sloughter
d5d9eb852d
Merge pull request #907 from talentdeficit/ct_coverage_fix
calculate coverage info as late as possible in ct provider execution
9 år sedan
alisdair sullivan
0461729fd9
calculate coverage info as late as possible in ct provider execution
9 år sedan
Heinz N. Gies
91c47db27a
Add 'configuration' section to README
9 år sedan
Heinz N. Gies
42695b42b1
Allow switching based on env variable
9 år sedan
Tristan Sloughter
f02ec39985
Merge pull request #905 from talentdeficit/cover_fixes
fixes for cover under new compiler/eunit/ct
9 år sedan
Fred Hebert
5ad5ceb6c3
Merge pull request #894 from talentdeficit/ct_test_specs
rebar_prv_common_test refactor
9 år sedan
alisdair sullivan
80f5bc6152
add warning about `auto_compile`
9 år sedan
alisdair sullivan
cf66dfd6ba
adjust shell completions to match available command line options
9 år sedan
alisdair sullivan
94169fbdf2
reenable support for most command line options and rename `ct_tests` to `ct_opts`
9 år sedan
alisdair sullivan
f73307bb65
support atom suites in `ct_tests`
9 år sedan
alisdair sullivan
19a3a96893
refactor `rebar_prv_common_test`
* 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
9 år sedan
Fred Hebert
8fcfbfc4be
Merge pull request #906 from tsloughter/plugins_list_fix
fix #903 : use app discover of entire plugins dir when listing
9 år sedan
Tristan Sloughter
f7326f0b90
Merge pull request #900 from fishcakez/dialyzer-missing
Rebuild PLT when beams no longer exist
9 år sedan
Tristan Sloughter
d119cfcf25
Merge pull request #904 from talentdeficit/soft_purge_opt
add an option to soft purge rather than purge old code
9 år sedan
Tristan Sloughter
e5aa04f278
fix #903 : use app discover of entire plugins dir when listing
9 år sedan
alisdair sullivan
d8be03ab6a
fixes for cover under new compiler/eunit/ct
* only try to cover compile directories that actually exist
* recover from failures where source files don't contain required
attributes for cover compilation and print warning
9 år sedan
alisdair sullivan
67bf54d04d
add an option to soft purge rather than purge old code
at the cost of some SASL warnings this prevents rebar3 from terminating
processes when reloading their code before running tests
9 år sedan
Fred Hebert
e72e46fc9d
Merge pull request #895 from talentdeficit/delay_eunit_validation
delay validation of eunit tests until just before running
9 år sedan
Heinz N. Gies
afd2b9b4fb
Fixed error log formating
9 år sedan
Heinz N. Gies
8d22f7d368
Update bootstrap script to include cf
9 år sedan
Heinz N. Gies
04be3f5963
Make output a bit more discrete
9 år sedan
Tristan Sloughter
9bbab27819
Merge pull request #901 from talentdeficit/prevent_purge_termination
prevent rebar3 from reloading it's own path and terminating itself
9 år sedan
alisdair sullivan
31cc213b81
prevent rebar3 from reloading it's own path and terminating itself
prevents code reloading by temporary marking of rebar3's ebin dir
as sticky during code refresh
9 år sedan
James Fish
d48f02dbc4
Rebuild PLT when beams no longer exist
9 år sedan
Tristan Sloughter
591b018258
Merge pull request #896 from talentdeficit/test_bootstrap
move test profile bootstrap into core
9 år sedan
Tristan Sloughter
d2be2f2b72
Merge pull request #898 from talentdeficit/dedup_src_dirs
dedup `src_dirs` and `extra_src_dirs` on read
9 år sedan
alisdair sullivan
edfa4427a3
dedup `src_dirs` and `extra_src_dirs` on read
9 år sedan
alisdair sullivan
17e26f7265
delay validation of eunit tests until just before running
9 år sedan
alisdair sullivan
3fc51b912c
move test profile bootstrap into core
9 år sedan
Fred Hebert
12dbed8311
Merge pull request #890 from tsloughter/clean_app_fix
only clean project apps once even when doing --all
9 år sedan
Tristan Sloughter
3f7886abe0
only clean project apps once even when doing --all
9 år sedan
Tristan Sloughter
c88c373e49
Merge pull request #883 from talentdeficit/erlc_compiler_refactor
compiler refactor/eunit & ct fixes
9 år sedan
alisdair sullivan
dee2392e13
remove unnecessary filtering of checkapps from project apps in `rebar_prv_eunit`
9 år sedan
alisdair sullivan
3bf52241bd
restore debug calls to `rebar_erlc_compiler` and `rebar_prv_eunit`
9 år sedan
alisdair sullivan
d1409d0b3b
refactor `rebar_erlc_compiler`
* 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
9 år sedan
alisdair sullivan
621d8a9485
Revert "add an export to allow specifing arbitrary extra erl files to be compiled"
This reverts commit 9d82215296
.
9 år sedan
Fred Hebert
208be2d166
Merge pull request #886 from tsloughter/pkg_update
return more useful error message (failed to download) when pkg http req fails
9 år sedan