alisdair sullivan
34816ad8dc
cover compile beams compiled for ct/eunit seperately from beams compiled otherwise
fixes #788
hace 9 años
Tristan Sloughter
d19320b17c
fix run_all_hooks call for ct provider, no need to pass appinfo
hace 9 años
Yury Gargay
c3194052e7
Fix cover_spec options for ct
hace 9 años
Tristan Sloughter
98752aab93
wip: move state into app_info
hace 9 años
alisdair sullivan
4f16e5b7e3
symlink ct test dirs rather than copy
hace 9 años
Tristan Sloughter
ad463398dc
use correct rebar_state for a dep, not the top level state
hace 9 años
Viacheslav V. Kovalev
9a83c35a6f
Rewrite code around remove_links/1 to make it clearer
hace 10 años
Daniel Widgren
ebfdbc695e
Fixed review comments
hace 10 años
alisdair sullivan
f51d7f2048
add an (almost) unique reference to message sent from the ct provider
to itself so a selective receive can be used to retrieve it
fixes #547
hace 10 años
Viacheslav V. Kovalev
8138bb92b2
Fix windows-related issues
hace 10 años
Viacheslav V. Kovalev
9ad39c979a
Fix windows-related issues
hace 10 años
alisdair sullivan
087dfdd325
ensure all `src_dirs` and `extra_src_dirs` are handled properly
when running `ct` tests
fixes #513
hace 10 años
Fred Hebert
3ed0c5feff
fix bareness issues
- 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.
hace 10 años
alisdair sullivan
b06a6ecadd
don't add `{extra_src_dirs, ["test"]}` to `test` profile
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
hace 10 años
Tristan Sloughter
529025b6fd
purge loaded code when it conflicts with project apps in tests
hace 10 años
Tristan Sloughter
3a201230fe
install plugins from the global config to ~/.cache/plugins
hace 10 años
alisdair sullivan
e4f9fbfc9d
when compiling ct dirs base compiler input dir on project root
rather than profile root
fixes #415
hace 10 años
alisdair sullivan
9c544217ba
delete all symlinks when copying from project files to `_build` tree
to prevent any data from being overwritten
fixes #395
hace 10 años
Tristan Sloughter
16e9b3ffa2
fix tracking of all profiles dep paths
hace 10 años
Tristan Sloughter
4374999d95
real bootstrapping
hace 10 años
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
hace 10 años
Tristan Sloughter
5999ef1c96
ct: compile tests from test dir to outdir instead of compiling copies
hace 10 años
James Fish
09611f7563
Improve error handling in ct provider
hace 10 años
alisdair sullivan
d1569a9d46
disallow suites in project root
fixes #331
hace 10 años
Tristan Sloughter
4e64e36857
fixes from bad rebase against master
hace 10 años
Tristan Sloughter
a55c94cc9c
support provider hooks on ct and eunit
hace 10 años
Fred Hebert
043a2f5453
Provide descriptions for all tasks
hace 10 años
alisdair sullivan
b77d3e5083
modify `ct` provider to copy selected directories and compile them
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
hace 10 años
Fred Hebert
92245a138b
use PRV_ERROR for formattable errors
Also expose it in rebar_api
hace 10 años
alisdair sullivan
b0300f1b2f
symlink extra test dirs and compile from there instead of from
root project
hace 10 años
alisdair sullivan
ab84fc89cc
compile source from the symlinked directories under `_build` to
get correct compile paths included in module info
hace 10 años
Tristan Sloughter
ea82d0561d
update all examples in providers to use rebar3
hace 10 años
James Fish
c53dfe0020
Fix handling of ct results
* Return error on failed and/or auto skipped tests
* Print all results for quiet repeated tests
* Sum results of repeated tests
hace 10 años
James Fish
d6d45258d6
Don't include directories when testing subset of ct suites
hace 10 años
alisdair sullivan
1c56941225
fix issue where apps with a `rebar.config` were preventing
rebar state from propogating appropriately
hace 10 años
alisdair sullivan
945eb364ee
include full path in pointer to `ct` output
hace 10 años
alisdair sullivan
434c662816
rename `_logs` and `_cover` dirs to `logs` and `cover`, respectively
hace 10 años
alisdair sullivan
993a9efa58
move `_logs` and `_cover` to `_build` dir
hace 10 años
alisdair sullivan
ad8982b931
generate cover data (via the `{cover_enabled, true}` option in
`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
hace 10 años
alisdair sullivan
c7c00bccfd
modify `ct` and `eunit` to work with isolated `ebin` dirs
hace 10 años
Tristan Sloughter
0a8ee68042
fix compile/3 call in common_test provider
hace 10 años
Tristan Sloughter
440f0d7524
update compile call from common test provider with new outdir
hace 10 años
alisdair sullivan
a14f750131
fix error where an exception in ct could hang rebar by monitoring
the process where ct is performed
hace 10 años
alisdair sullivan
e6be44667d
suppress common_test output unless `rebar3 ct` is run with verbose switch
hace 10 años
Tristan Sloughter
0533f9dddc
don't lose erl_opts when compiling for tests
hace 10 años
alisdair sullivan
00e03d70ef
use new `rebar_file_utils` functions in `eunit` and `ct` providers
hace 10 años
alisdair sullivan
10298a21b6
change more instances of mistyped `erl_first_modules` to
`erl_first_files`
fixes #99
hace 10 años
Tristan Sloughter
407362c074
replace single profile atom in providers with list of profiles
hace 10 años
alisdair sullivan
5e270a7456
when compiling `common_test` or `eunit` use the same tmp dir
from run to run
hace 10 años
alisdair sullivan
16c31097c2
add support for a bare `test` directory when using `apps` libdirs
hace 10 años