| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Cleanup data dirs in eunit_plugin before test run | Eric Avdey | 2018-01-04 | 1 | -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 command | Russell Branca | 2014-08-29 | 1 | -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. | |||||
