summaryrefslogtreecommitdiff
path: root/rel/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup data dirs in eunit_plugin before test runEric Avdey2018-01-041-0/+20
| | | | | | | | | | | | | | | | We use `unique_monotonic_integer` to name the test databases in unit testing. That means that on erlang R > 18 we are always creating databases with same names. When unit tests crashing or don't properly cleaning up on teardown, they are leaving behind old database files, son on a next run tests' setup fails with `database exists` exception. This fix cleans up old database files making sure we are always running unit tests from same blank state.
* Add setup_eunit rebar commandRussell Branca2014-08-291-0/+39
This adds a rebar plugin that introduces the setup_eunit function to bootstrap the test ini files necessary to run the eunit test suite. It grabs the ini template files from rel/overlay/*.ini primarily to be able to set an absolute path for data directories and the prefix based on the location of the CouchDB source directory.