8fc98631b9
* Fix for diffing issue after rollback in conjunction with created and deleted buckets. * Changed rollback function to check against the full set of documents for a revision instead of just the documents at that particular revision * Created a document_delete function to encapsulate document deletion * Added additional test case to check that a rollback to something other than 0 deletes the created buckets in between Co-Authored-By: Michael Beaver <michaelbeaver64@gmail.com> Change-Id: I0d57e67d68def1f15255a8c89290e8c70deedc03 |
||
---|---|---|
.. | ||
gabbits | ||
README.rst |
README.rst
Functional Tests
Deckhand uses gabbi to
drive its functional tests. The entry point for these tests is
functional-tests.sh
under tools
directory.
Directory Test Layout
Tests are contained in intuitively named subdirectories nested under
deckhand/tests/functional/gabbits
. For example, layering
tests are contained under the layering
subdirectory. This
pattern should be strictly followed.
Because gabbi does
not support loading tests from subdirectories, logic is included in
test_gabbi.py
to:
- Create a temporary directory.
- Create a symlink between all the test files in the nested subdirectories and the temporary directory.
However, the test directory can still be modified:
- New subdirectories under
gabbits
can be added. - New tests under any of those subdirectories can be added.
- New resource files under
gabits/resources
can be added. This directory name should never be renamed. - All other subdirectories, test files, and resources may be renamed.