alisdair sullivan
d6a011981e
add support for `rebar3 eunit --file=...'
9 년 전
alisdair sullivan
360834dd40
Revert "don't add `{extra_src_dirs, ["test"]}` to `test` profile"
This reverts commit b06a6ecadd
.
9 년 전
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.
10 년 전
Tristan Sloughter
8a50331898
move handling of undefined app state to function
10 년 전
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
10 년 전
Tristan Sloughter
529025b6fd
purge loaded code when it conflicts with project apps in tests
10 년 전
alisdair sullivan
c534deafc5
generalize the "test" special dir into an {extra_src_dirs, [...]} option
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
10 년 전
Tristan Sloughter
4374999d95
real bootstrapping
10 년 전
Tristan Sloughter
a3d4cc1259
track and cleanup code paths for different contexts
10 년 전
Tristan Sloughter
a447067888
rm old beams, make erlcinfo graph per app isntad of global to project
10 년 전
Tristan Sloughter
019152e1d5
fix eunit comment
10 년 전
Tristan Sloughter
4e64e36857
fixes from bad rebase against master
10 년 전
Tristan Sloughter
a55c94cc9c
support provider hooks on ct and eunit
10 년 전
Fred Hebert
043a2f5453
Provide descriptions for all tasks
10 년 전
alisdair sullivan
efb859f15a
split function setting test set for clarity
10 년 전
alisdair sullivan
044b6580e7
filter checkapps via `rebar_app_info:is_checkout` rather than
matching directory paths
10 년 전
alisdair sullivan
c5bc19b021
add `--app=...` and `--suite=...` options for the eunit provider to
run subsets of test suites
10 년 전
Fred Hebert
92245a138b
use PRV_ERROR for formattable errors
Also expose it in rebar_api
10 년 전
alisdair sullivan
b0300f1b2f
symlink extra test dirs and compile from there instead of from
root project
10 년 전
alisdair sullivan
ab84fc89cc
compile source from the symlinked directories under `_build` to
get correct compile paths included in module info
10 년 전
Tristan Sloughter
ea82d0561d
update all examples in providers to use rebar3
10 년 전
alisdair sullivan
90bff8f8d4
preserve state when compiling directories with a `rebar.config`
10 년 전
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
10 년 전
alisdair sullivan
c7c00bccfd
modify `ct` and `eunit` to work with isolated `ebin` dirs
10 년 전
Tristan Sloughter
ae9c83fb4b
copy project apps to deps output dir for compilation
10 년 전
Tristan Sloughter
0533f9dddc
don't lose erl_opts when compiling for tests
10 년 전
alisdair sullivan
00e03d70ef
use new `rebar_file_utils` functions in `eunit` and `ct` providers
10 년 전
alisdair sullivan
10298a21b6
change more instances of mistyped `erl_first_modules` to
`erl_first_files`
fixes #99
10 년 전
Tristan Sloughter
407362c074
replace single profile atom in providers with list of profiles
10 년 전
alisdair sullivan
5e270a7456
when compiling `common_test` or `eunit` use the same tmp dir
from run to run
10 년 전
alisdair sullivan
16c31097c2
add support for a bare `test` directory when using `apps` libdirs
10 년 전
alisdair sullivan
853efc5077
exclude `_checkouts` from directories to be precompiled for
`common_test` and `eunit` providers
10 년 전
alisdair sullivan
e5270da3d7
preserve rebar path when running `ct` and `eunit` tests
10 년 전
alisdair sullivan
eb34901ab7
reworked eunit provider
compiles apps and eunit test files in a temporary dir (or a user
specified dir) and runs tests without leaving artifacts in the
source tree
automatically defines the 'TEST' macro if not already defined and
adds `test` to `src_dirs` to allow for eunit test files outside `src`
10 년 전
Tristan Sloughter
8e5c916cb6
move dir functions from utils to new module rebar_dir
10 년 전
Tristan Sloughter
79b1f23240
move back to using format_error/1
10 년 전
Tristan Sloughter
1ff904f39a
handle throw by relx
10 년 전
Tristan Sloughter
fe6827706f
add eunit task, still work to be done
10 년 전