This commit begins to implement blueprint consolidate-testing-infrastructure by adding a 'testing' subpackage and moving some modules into it. Change-Id: I04bf860bc386bd2016e7dbc5a6f6ef7379a855bb
45 lines
1.0 KiB
ReStructuredText
45 lines
1.0 KiB
ReStructuredText
=====================================
|
|
OpenStack Nova Testing Infrastructure
|
|
=====================================
|
|
|
|
A note of clarification is in order, to help those who are new to testing in
|
|
OpenStack nova:
|
|
|
|
- actual unit tests are created in the "tests" directory;
|
|
- the "testing" directory is used to house the infrastructure needed to support
|
|
testing in OpenStack Nova.
|
|
|
|
This README file attempts to provide current and prospective contributors with
|
|
everything they need to know in order to start creating unit tests and
|
|
utilizing the convenience code provided in nova.testing.
|
|
|
|
Note: the content for the rest of this file will be added as the work items in
|
|
the following blueprint are completed:
|
|
https://blueprints.launchpad.net/nova/+spec/consolidate-testing-infrastructure
|
|
|
|
|
|
Test Types: Unit vs. Functional vs. Integration
|
|
-----------------------------------------------
|
|
|
|
TBD
|
|
|
|
Writing Unit Tests
|
|
------------------
|
|
|
|
TBD
|
|
|
|
Using Fakes
|
|
~~~~~~~~~~~
|
|
|
|
TBD
|
|
|
|
Writing Functional Tests
|
|
------------------------
|
|
|
|
TBD
|
|
|
|
Writing Integration Tests
|
|
-------------------------
|
|
|
|
TBD
|