~ewanmellor/glance/lp694382

  • Committer: Tarmac
  • Author(s): jaypipes at gmail
  • Date: 2010-10-11 19:56:54 UTC
  • mfrom: (11.1.3 testing)
  • Revision ID: hudson@openstack.org-20101011195654-lw7jqq6737ulzf3s
This patch overhauls the testing in Glance:

* Adds Nova-like run_tests.sh and tools/* files to automatically run unit tests in a virtual environment.  Just do ./run_tests.sh -V from project root.  All required dependencies will be installed into a new virtual environment at .glance-venv.
* Adds proper mocking and stubouts using pymox.  This removes the need for all the FakeParallaxAdapter and similar code.  Unit tests now call stubs.stub_out_parallax(), etc instead of having swiftfakehttp.py and similar code.
Filename Latest Rev Last Changed Committer Comment Size
..
bin 3.1.1 14 years ago Monty Taylor Reorg to make Monty's build pedanticness side happ Diff
doc 3.1.2 14 years ago Monty Taylor Added setup.py and sphinx docs. Diff
glance 4.1.1 14 years ago jaypipes at gmail libify glance into teller and parallax modules. Ma Diff
tests 3.1.1 14 years ago Monty Taylor Reorg to make Monty's build pedanticness side happ Diff
tools 11.1.1 13 years ago jaypipes at gmail First round of cleaning up the unittests. Adds tes Diff
.bzrignore 11.1.1 13 years ago jaypipes at gmail First round of cleaning up the unittests. Adds tes 36 bytes Diff Download File
README 1 14 years ago Rick Harris Initial check-in 127 bytes Diff Download File
File run_tests.sh 11.1.1 13 years ago jaypipes at gmail First round of cleaning up the unittests. Adds tes 1.6 KB Diff Download File
setup.cfg 3.1.2 14 years ago Monty Taylor Added setup.py and sphinx docs. 134 bytes Diff Download File
setup.py 4.1.1 14 years ago jaypipes at gmail libify glance into teller and parallax modules. Ma 1.9 KB Diff Download File