summaryrefslogtreecommitdiff
path: root/test/rebar_eunit_SUITE.erl
Commit message (Collapse)AuthorAgeFilesLines
* eunit in 19.3 errors if `init_per_*` isn't paired with `end_per_*`alisdair sullivan2017-03-181-1/+4
|
* allow using an alternate regex to locate test modules during eunit runsalisdair sullivan2016-09-201-1/+25
| | | | | | | | {`eunit_test_regex`, Regex}` will use the supplied `Regex` instead of the default to locate tests in test dirs. note this matches only the filename, not the path. the regex is applied to all test dirs, recursively fixes #1331
* move definition of 'EUNIT' macro to eunit provideralisdair sullivan2016-03-031-6/+37
| | | | add definition of 'COMMON_TEST' macro to eunit provider
* deduplicate default test set generated by `rebar3 eunit`alisdair sullivan2016-01-171-5/+9
| | | | | this ONLY attempts to deduplicate test sets that are generated by rebar in the absence of any user specified tests
* Avoid changing directories in test suiteFred Hebert2016-01-071-6/+3
|
* error on ct/eunit argument errors instead of warningalisdair sullivan2015-11-151-1/+64
|
* delay validation of eunit tests until just before runningalisdair sullivan2015-10-301-6/+12
|
* refactor `rebar_erlc_compiler`alisdair sullivan2015-10-261-5/+13
| | | | | | | | | | | | | | | | | | | * 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
* shiny and new test suite for eunit provideralisdair sullivan2015-09-291-517/+391
|
* fix test names in `eunit_test_SUITE`alisdair sullivan2015-09-291-46/+46
|
* inject `eunit_compile_opts`, `eunit_first_files` and `TEST` macroalisdair sullivan2015-09-291-3/+76
| | | | prior to running compile and compile prehooks
* add `application' flag and additional testsalisdair sullivan2015-09-291-9/+74
|
* add `error_on_warning' option to eunit provideralisdair sullivan2015-09-291-24/+78
|
* reworked eunit provider to allow access to full range of eunit testsalisdair sullivan2015-09-291-96/+38
|
* add support for `rebar3 eunit --file=...'alisdair sullivan2015-08-151-2/+58
|
* only look for top level apps and those directly under apps/ or lib/Tristan Sloughter2015-07-161-19/+19
|
* real bootstrappingTristan Sloughter2015-04-221-6/+6
|
* filter checkapps via `rebar_app_info:is_checkout` rather thanalisdair sullivan2015-03-241-2/+22
| | | | matching directory paths
* add `--app=...` and `--suite=...` options for the eunit provider toalisdair sullivan2015-03-241-2/+196
| | | | run subsets of test suites
* add a more direct way to generate an `eunitized` test app toalisdair sullivan2015-03-241-7/+152
| | | | test utils and add better eunit tests
* Add test case to eunit test suiteKelly McLaughlin2015-03-231-2/+14
| | | | Add test case to exercise the eunit provider using the test profile
* switch from loading modules to read compile info to using `beam_lib`alisdair sullivan2015-03-051-3/+3
| | | | fixes #216 and #220
* test for eunit provideralisdair sullivan2015-01-061-0/+37