Refactor System Tests
A refactoring of system tests to make them easier to extend and more robust in the face of hidden dependencies.
Blueprint information
- Status:
- Complete
- Approver:
- Flavio Percoco
- Priority:
- High
- Drafter:
- Allele Dev
- Direction:
- Needs approval
- Assignee:
- Flavio Percoco
- Definition:
- Approved
- Series goal:
- Accepted for icehouse
- Implementation:
-
Implemented
- Milestone target:
-
2014.1
- Started by
- Flavio Percoco
- Completed by
- Flavio Percoco
Whiteboard
1. Re-organize test structure , per discussion here https:/
2. Remove the numbering (from 000 , 999 etc in test methods) from the system tests. Use http://
(Use teardown method instead of the http.delete See comments https:/
3. Update all create_headers to return python dict (COMPLETE)
4. Consider developing a state machine to set up the DB with pre-loaded data, that can be used by the tests.
Gerrit topic: https:/
5. Using a queue-creating context manager would avoid having to maintain a list of queues to delete at the end of the test. See: https:/
Addressed by: https:/
Refactor system tests, update for metadata endpnt
Addressed by: https:/
Refactor System Tests
Gerrit topic: https:/
Addressed by: https:/
Pull actual tests out of marconi/tests
Addressed by: https:/
Remove util packages
Addressed by: https:/
Use oslo.config for functional tests
Addressed by: https:/
Run functional tests under tox
Addressed by: https:/
Implement embedded marconi-server execution
Addressed by: https:/
Move Unit tests under a unit package
Addressed by: https:/
Implement small http client for tests
Addressed by: https:/
Move functional tests into wsgi/v1
Addressed by: https:/
Use format instead of % for string formatting
Addressed by: https:/
Move tests/unit/
Addressed by: https:/
Move test_default_limits to the new tests location
Work Items
Dependency tree

* Blueprints in grey have been implemented.