aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eunit.mk
AgeCommit message (Collapse)Author
2018-11-27Remove some unnecessary -pa argumentsLoïc Hoguin
They're already in ERL_LIBS.
2018-11-25Build issues testing multi-apps projectsLoïc Hoguin
I've reworked how the multi-apps projects are built. In particular I've made sure the test build is made from the top-level once, and then only tests are run on this build. It used to build multiple times and some builds would not include test mode, not good. I've also fixed issues with running tests in parallel. All tests now pass with -j8 on my machine. It's possible more issues remain that are not covered by tests yet though.
2018-11-24Improve ct/eunit testsLoïc Hoguin
Also don't run eunit if there's no src/test directory.
2018-11-23Ensure apps eunit tests only run once when called directlyLoïc Hoguin
2018-05-14Don't run cover when there's no ebin files in the directoryLoïc Hoguin
2017-09-13COVER_DATA_DIR for *.coverdatanevar
Also make COVER_REPORT_DIR not override user value (if set before include erlang.mk). Use incl_app in CT cover spec.
2017-04-25Accumulate eunit failures in multi-appsStanislav Ovchar
2016-10-21Update Copyright notices2016.10.21Loïc Hoguin
2016-04-05 Add fullpath to ebin/crownedgrouse
Allow eunit test to access to project's priv_dir.
2016-01-16Fix eunit not running if there are no beamsLoïc Hoguin
I'm not sure how to reproduce the issue some people experienced (OS, make version maybe? who knows) but I got a report that this fixes it. It's also definitely the "right" way to do this.
2015-12-24Add EUNIT_ERL_OPTS variableLoïc Hoguin
2015-12-24Add EUnit tests and documentationLoïc Hoguin
Also includes a fix for multi-application repositories.
2015-07-04Add $(verbose) to avoid completely silencing commandsLoïc Hoguin
2015-07-02Reduce dependency on external programsLoïc Hoguin
This commit implements a core_find and core_ls function that can be used to list files recursively or not. A few other minute changes are included and a couple hacks removed.
2015-05-09Merge branch 'cover' of https://github.com/zuiderkwast/erlang.mkLoïc Hoguin
Rebased and moved ct.cover.spec into the test/ directory.
2015-03-12Make eunit non-verbose by defaultLoïc Hoguin
There is no value in a verbose mode for eunit by default because eunit will print errors of failing tests regardless of what mode is used. Verbose mode only seem to output what modules are tested and what tests pass in those modules, in addition to errors. Disabling verbose will make errors much easier to notice.
2015-03-06Fix an error message when there is no test/ folderLoïc Hoguin
2015-01-24Combined coverage report for eunit and ctViktor Söderqvist
2015-01-12Update copyright yearLoïc Hoguin
Also added a copyright line in the eunit plugin due to the extensive work I have done there a few days ago.
2015-01-10Introduce test builds and unify testing tools interfaceLoïc Hoguin
The general idea is that erlang.mk now keeps track of what kind of build it generated. A test build is valid for all subsequent test target invocations. A normal build is only valid for itself and releases. This rework adds the ability to specify deps to eunit. The EUNIT_DIR variable is gone in favor of a more global TEST_DIR. The tests-ct target got renamed to ct and documented. Many more minor changes were done during the course of testing these changes.
2015-01-08Speed up "erl" invocationsLoïc Hoguin
Use "+A0 -noinput -boot start_clean" as start argument. Use halt/{1,2} to shutdown the VM faster.
2014-12-21Add EUnit pluginEnrique Fernandez